Ticket #3250: 3250.patch
File 3250.patch, 2.2 KB (added by , 15 years ago) |
---|
-
_source/plugins/colorbutton/plugin.js
91 91 92 92 var style = new CKEDITOR.style( config['colorButton_' + type + 'Style'], { color : color || '#000' } ); 93 93 94 editor.fire( 'saveSnapshot' ); 94 95 if ( color ) 95 96 style.apply( editor.document ); 96 97 else -
_source/plugins/font/plugin.js
55 55 onClick : function( value ) 56 56 { 57 57 editor.focus(); 58 editor.fire( 'saveSnapshot' ); 58 59 59 60 if ( saveRanges ) 60 61 { -
_source/plugins/format/plugin.js
53 53 onClick : function( value ) 54 54 { 55 55 editor.focus(); 56 editor.fire( 'saveSnapshot' ); 56 57 57 58 if ( saveRanges ) 58 59 { -
_source/plugins/stylescombo/plugin.js
93 93 onClick : function( value ) 94 94 { 95 95 editor.focus(); 96 editor.fire( 'saveSnapshot' ); 96 97 97 98 var style = styles[ value ], 98 99 selection = editor.getSelection(); -
_source/plugins/undo/plugin.js
63 63 editor.on( 'beforeCommandExec', recordCommand ); 64 64 editor.on( 'afterCommandExec', recordCommand ); 65 65 66 // Save snapshots before doing custom changes. 67 editor.on( 'saveSnapshot', function() 68 { 69 undoManager.save(); 70 }); 71 66 72 // Make the undo manager available only in wysiwyg mode. 67 73 editor.on( 'mode', function() 68 74 {