Ticket #3072: 3072.patch

File 3072.patch, 9.5 KB (added by Artur Formella, 15 years ago)
  • _source/core/plugindefinition.js

     
    3939 * @name CKEDITOR.pluginDefinition.prototype.beforeInit
    4040 * @function
    4141 * @param {CKEDITOR.editor} editor The editor instance being initialized.
    42  * @param {String} pluginPath The URL path for the plugin installation folder.
    4342 * @example
    4443 * CKEDITOR.plugins.add( 'sample',
    4544 * {
    46  *     beforeInit : function( editor, pluginPath )
     45 *     beforeInit : function( editor )
    4746 *     {
    4847 *         alert( 'Editor "' + editor.name + '" is to be initialized!' );
    4948 *     }
     
    5655 * @name CKEDITOR.pluginDefinition.prototype.init
    5756 * @function
    5857 * @param {CKEDITOR.editor} editor The editor instance being initialized.
    59  * @param {String} pluginPath The URL path for the plugin installation folder.
    6058 * @example
    6159 * CKEDITOR.plugins.add( 'sample',
    6260 * {
    63  *     init : function( editor, pluginPath )
     61 *     init : function( editor )
    6462 *     {
    6563 *         alert( 'Editor "' + editor.name + '" is being initialized!' );
    6664 *     }
  • _source/plugins/basicstyles/plugin.js

     
    77{
    88        requires : [ 'styles', 'button' ],
    99
    10         init : function( editor, pluginPath )
     10        init : function( editor )
    1111        {
    1212                // All buttons use the same code to register. So, to avoid
    1313                // duplications, let's use this tool function.
  • _source/plugins/editingblock/plugin.js

     
    2121
    2222        CKEDITOR.plugins.add( 'editingblock',
    2323        {
    24                 init : function( editor, pluginPath )
     24                init : function( editor )
    2525                {
    2626                        if ( !editor.config.editingBlock )
    2727                                return;
  • _source/plugins/elementspath/plugin.js

     
    2929        {
    3030                requires : [ 'selection' ],
    3131
    32                 init : function( editor, pluginPath )
     32                init : function( editor )
    3333                {
    3434                        var spaceId = 'cke_path_' + editor.name;
    3535                        var spaceElement;
  • _source/plugins/entities/plugin.js

     
    9494
    9595        CKEDITOR.plugins.add( 'entities',
    9696        {
    97                 afterInit : function( editor, pluginPath )
     97                afterInit : function( editor )
    9898                {
    9999                        var config = editor.config;
    100100
  • _source/plugins/horizontalrule/plugin.js

     
    2222        // Register a plugin named "horizontalrule".
    2323        CKEDITOR.plugins.add( pluginName,
    2424        {
    25                 init : function( editor, pluginPath )
     25                init : function( editor )
    2626                {
    2727                        editor.addCommand( pluginName, horizontalruleCmd );
    2828                        editor.ui.addButton( 'HorizontalRule',
  • _source/plugins/htmldataprocessor/plugin.js

     
    104104        {
    105105                requires : [ 'htmlwriter' ],
    106106
    107                 init : function( editor, pluginPath )
     107                init : function( editor )
    108108                {
    109109                        var dataProcessor = editor.dataProcessor = new CKEDITOR.htmlDataProcessor();
    110110
  • _source/plugins/link/plugin.js

     
    55
    66CKEDITOR.plugins.add( 'link',
    77{
    8         init : function( editor, pluginPath )
     8        init : function( editor )
    99        {
    1010                // Add the link and unlink buttons.
    1111                editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) );
  • _source/plugins/newpage/plugin.js

     
    1010// Register a plugin named "newpage".
    1111CKEDITOR.plugins.add( 'newpage',
    1212{
    13         init : function( editor, pluginPath )
     13        init : function( editor )
    1414        {
    1515                editor.addCommand( 'newpage',
    1616                        {
  • _source/plugins/pastetext/plugin.js

     
    3131        // Register the plugin.
    3232        CKEDITOR.plugins.add( 'pastetext',
    3333        {
    34                 init : function( editor, pluginPath )
     34                init : function( editor )
    3535                {
    3636                        var commandName = 'pastetext',
    3737                                command = editor.addCommand( commandName, pasteTextCmd );
  • _source/plugins/preview/plugin.js

     
    8181        // Register a plugin named "preview".
    8282        CKEDITOR.plugins.add( pluginName,
    8383        {
    84                 init : function( editor, pluginPath )
     84                init : function( editor )
    8585                {
    8686                        editor.addCommand( pluginName, previewCmd );
    8787                        editor.ui.addButton( 'Preview',
  • _source/plugins/removeformat/plugin.js

     
    77{
    88        requires : [ 'selection' ],
    99
    10         init : function( editor, pluginPath )
     10        init : function( editor )
    1111        {
    1212                editor.addCommand( 'removeFormat', CKEDITOR.plugins.removeformat.commands.removeformat );
    1313                editor.ui.addButton( 'RemoveFormat',
  • _source/plugins/selection/plugin.js

     
    8181
    8282        CKEDITOR.plugins.add( 'selection',
    8383        {
    84                 init : function( editor, pluginPath )
     84                init : function( editor )
    8585                {
    8686                        editor.on( 'contentDom', function()
    8787                                {
  • _source/plugins/smiley/plugin.js

     
    77{
    88        requires : [ 'dialog' ],
    99
    10         init : function( editor, pluginPath )
     10        init : function( editor )
    1111        {
    1212                editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) );
    1313                editor.ui.addButton( 'Smiley',
  • _source/plugins/sourcearea/plugin.js

     
    1212{
    1313        requires : [ 'editingblock' ],
    1414
    15         init : function( editor, pluginPath )
     15        init : function( editor )
    1616        {
    1717                var sourcearea = CKEDITOR.plugins.sourcearea;
    1818
  • _source/plugins/specialchar/plugin.js

     
    99
    1010CKEDITOR.plugins.add( 'specialchar',
    1111{
    12         init : function( editor, pluginPath )
     12        init : function( editor )
    1313        {
    1414                var pluginName = 'specialchar';
    1515
  • _source/plugins/tab/plugin.js

     
    5555        {
    5656                requires : [ 'keystrokes' ],
    5757
    58                 init : function( editor, pluginPath )
     58                init : function( editor )
    5959                {
    6060                        // Register the keystrokes.
    6161                        var keystrokes = editor.keystrokeHandler.keystrokes;
  • _source/plugins/toolbar/plugin.js

     
    4848
    4949        CKEDITOR.plugins.add( 'toolbar',
    5050        {
    51                 init : function( editor, pluginPath )
     51                init : function( editor )
    5252                {
    5353                        var itemKeystroke = function( item, keystroke )
    5454                        {
  • _source/plugins/wsc/plugin.js

     
    1010// Register a plugin named "wsc".
    1111CKEDITOR.plugins.add( 'wsc',
    1212{
    13         init : function( editor, pluginPath )
     13        init : function( editor )
    1414        {
    1515                var commandName = 'checkspell';
    1616
  • _source/plugins/wysiwygarea/plugin.js

     
    7575        {
    7676                requires : [ 'editingblock' ],
    7777
    78                 init : function( editor, pluginPath )
     78                init : function( editor )
    7979                {
    8080                        editor.on( 'editingBlockReady', function()
    8181                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy