Dotclear


Ignore:
Timestamp:
09/09/14 16:30:31 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Each editor (ckeditor, legacy ones) loads its own context when it is active.
Add plugin_id parameter to transmit that context
Remove call of ckeditorExtraPlugins behavior until a good solution is found.
Closes #1983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/js/ckeditor-plugins/media/plugin.js

    r2743 r2751  
    55               editor.addCommand('mediaCommand', { 
    66                    exec: function(editor) { 
    7                          $.toolbarPopup('media.php?popup=1&editor='+editor.name); 
     7                         $.toolbarPopup('media.php?popup=1&plugin_id=dcCKEditor'); 
    88                    } 
    99               }); 
     
    1919                    if (!element.isReadOnly()) { 
    2020                         if (element.is('img') || (element.is('a') && element.hasClass('media-link'))) { 
    21                               $.toolbarPopup('media.php?popup=1&editor='+editor.name); 
     21                              $.toolbarPopup('media.php?popup=1&plugin_id=dcCKEditor'); 
    2222                              return false; 
    2323                         } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map