Ticket #6203: 6203.patch
File 6203.patch, 2.0 KB (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
1006 1006 editor.document.$.designMode = 'on'; 1007 1007 setTimeout( function() 1008 1008 { 1009 editor.document.$.designMode = 'off'; 1010 if ( CKEDITOR.currentInstance == editor ) 1011 editor.document.getBody().focus(); 1009 if ( editor.document ) 1010 { 1011 editor.document.$.designMode = 'off'; 1012 if ( CKEDITOR.currentInstance == editor ) 1013 editor.document.getBody().focus(); 1014 } 1012 1015 }, 50 ); 1013 1016 }, 1014 1017 function() -
_source/plugins/undo/plugin.js
94 94 undoManager.onChange(); 95 95 }); 96 96 97 // Make the undo manager unavailable after editor destroyed. 98 editor.on( 'destroy', function() 99 { 100 undoManager.enabled = 0; 101 }); 102 97 103 editor.ui.addButton( 'Undo', 98 104 { 99 105 label : editor.lang.undo, -
_source/core/editor_basic.js
29 29 /** 30 30 * Creates an editor class instance. This constructor should be rarely 31 31 * used, in favor of the {@link CKEDITOR} editor creation functions. 32 * @ class Represents an editor instance. 32 * @ class Represents an editor instance. (<strong>Note:</strong> All instance methods of "CKEDITOR.editor" invocation is invalid after editor instance destroyed by calling {@link CKEDITOR.editor#destroy}) 33 33 * @param {Object} instanceConfig Configuration values for this specific 34 34 * instance. 35 35 * @param {CKEDITOR.dom.element} [element] The element linked to this