Ticket #3072: 3072.patch
File 3072.patch, 9.5 KB (added by , 15 years ago) |
---|
-
_source/core/plugindefinition.js
39 39 * @name CKEDITOR.pluginDefinition.prototype.beforeInit 40 40 * @function 41 41 * @param {CKEDITOR.editor} editor The editor instance being initialized. 42 * @param {String} pluginPath The URL path for the plugin installation folder.43 42 * @example 44 43 * CKEDITOR.plugins.add( 'sample', 45 44 * { 46 * beforeInit : function( editor , pluginPath)45 * beforeInit : function( editor ) 47 46 * { 48 47 * alert( 'Editor "' + editor.name + '" is to be initialized!' ); 49 48 * } … … 56 55 * @name CKEDITOR.pluginDefinition.prototype.init 57 56 * @function 58 57 * @param {CKEDITOR.editor} editor The editor instance being initialized. 59 * @param {String} pluginPath The URL path for the plugin installation folder.60 58 * @example 61 59 * CKEDITOR.plugins.add( 'sample', 62 60 * { 63 * init : function( editor , pluginPath)61 * init : function( editor ) 64 62 * { 65 63 * alert( 'Editor "' + editor.name + '" is being initialized!' ); 66 64 * } -
_source/plugins/basicstyles/plugin.js
7 7 { 8 8 requires : [ 'styles', 'button' ], 9 9 10 init : function( editor , pluginPath)10 init : function( editor ) 11 11 { 12 12 // All buttons use the same code to register. So, to avoid 13 13 // duplications, let's use this tool function. -
_source/plugins/editingblock/plugin.js
21 21 22 22 CKEDITOR.plugins.add( 'editingblock', 23 23 { 24 init : function( editor , pluginPath)24 init : function( editor ) 25 25 { 26 26 if ( !editor.config.editingBlock ) 27 27 return; -
_source/plugins/elementspath/plugin.js
29 29 { 30 30 requires : [ 'selection' ], 31 31 32 init : function( editor , pluginPath)32 init : function( editor ) 33 33 { 34 34 var spaceId = 'cke_path_' + editor.name; 35 35 var spaceElement; -
_source/plugins/entities/plugin.js
94 94 95 95 CKEDITOR.plugins.add( 'entities', 96 96 { 97 afterInit : function( editor , pluginPath)97 afterInit : function( editor ) 98 98 { 99 99 var config = editor.config; 100 100 -
_source/plugins/horizontalrule/plugin.js
22 22 // Register a plugin named "horizontalrule". 23 23 CKEDITOR.plugins.add( pluginName, 24 24 { 25 init : function( editor , pluginPath)25 init : function( editor ) 26 26 { 27 27 editor.addCommand( pluginName, horizontalruleCmd ); 28 28 editor.ui.addButton( 'HorizontalRule', -
_source/plugins/htmldataprocessor/plugin.js
104 104 { 105 105 requires : [ 'htmlwriter' ], 106 106 107 init : function( editor , pluginPath)107 init : function( editor ) 108 108 { 109 109 var dataProcessor = editor.dataProcessor = new CKEDITOR.htmlDataProcessor(); 110 110 -
_source/plugins/link/plugin.js
5 5 6 6 CKEDITOR.plugins.add( 'link', 7 7 { 8 init : function( editor , pluginPath)8 init : function( editor ) 9 9 { 10 10 // Add the link and unlink buttons. 11 11 editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) ); -
_source/plugins/newpage/plugin.js
10 10 // Register a plugin named "newpage". 11 11 CKEDITOR.plugins.add( 'newpage', 12 12 { 13 init : function( editor , pluginPath)13 init : function( editor ) 14 14 { 15 15 editor.addCommand( 'newpage', 16 16 { -
_source/plugins/pastetext/plugin.js
31 31 // Register the plugin. 32 32 CKEDITOR.plugins.add( 'pastetext', 33 33 { 34 init : function( editor , pluginPath)34 init : function( editor ) 35 35 { 36 36 var commandName = 'pastetext', 37 37 command = editor.addCommand( commandName, pasteTextCmd ); -
_source/plugins/preview/plugin.js
81 81 // Register a plugin named "preview". 82 82 CKEDITOR.plugins.add( pluginName, 83 83 { 84 init : function( editor , pluginPath)84 init : function( editor ) 85 85 { 86 86 editor.addCommand( pluginName, previewCmd ); 87 87 editor.ui.addButton( 'Preview', -
_source/plugins/removeformat/plugin.js
7 7 { 8 8 requires : [ 'selection' ], 9 9 10 init : function( editor , pluginPath)10 init : function( editor ) 11 11 { 12 12 editor.addCommand( 'removeFormat', CKEDITOR.plugins.removeformat.commands.removeformat ); 13 13 editor.ui.addButton( 'RemoveFormat', -
_source/plugins/selection/plugin.js
81 81 82 82 CKEDITOR.plugins.add( 'selection', 83 83 { 84 init : function( editor , pluginPath)84 init : function( editor ) 85 85 { 86 86 editor.on( 'contentDom', function() 87 87 { -
_source/plugins/smiley/plugin.js
7 7 { 8 8 requires : [ 'dialog' ], 9 9 10 init : function( editor , pluginPath)10 init : function( editor ) 11 11 { 12 12 editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) ); 13 13 editor.ui.addButton( 'Smiley', -
_source/plugins/sourcearea/plugin.js
12 12 { 13 13 requires : [ 'editingblock' ], 14 14 15 init : function( editor , pluginPath)15 init : function( editor ) 16 16 { 17 17 var sourcearea = CKEDITOR.plugins.sourcearea; 18 18 -
_source/plugins/specialchar/plugin.js
9 9 10 10 CKEDITOR.plugins.add( 'specialchar', 11 11 { 12 init : function( editor , pluginPath)12 init : function( editor ) 13 13 { 14 14 var pluginName = 'specialchar'; 15 15 -
_source/plugins/tab/plugin.js
55 55 { 56 56 requires : [ 'keystrokes' ], 57 57 58 init : function( editor , pluginPath)58 init : function( editor ) 59 59 { 60 60 // Register the keystrokes. 61 61 var keystrokes = editor.keystrokeHandler.keystrokes; -
_source/plugins/toolbar/plugin.js
48 48 49 49 CKEDITOR.plugins.add( 'toolbar', 50 50 { 51 init : function( editor , pluginPath)51 init : function( editor ) 52 52 { 53 53 var itemKeystroke = function( item, keystroke ) 54 54 { -
_source/plugins/wsc/plugin.js
10 10 // Register a plugin named "wsc". 11 11 CKEDITOR.plugins.add( 'wsc', 12 12 { 13 init : function( editor , pluginPath)13 init : function( editor ) 14 14 { 15 15 var commandName = 'checkspell'; 16 16 -
_source/plugins/wysiwygarea/plugin.js
75 75 { 76 76 requires : [ 'editingblock' ], 77 77 78 init : function( editor , pluginPath)78 init : function( editor ) 79 79 { 80 80 editor.on( 'editingBlockReady', function() 81 81 {