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/dclink/plugin.js

    r2743 r2751  
    66                    exec: function(editor) { 
    77                         if (editor.getSelection().getNative().toString().replace(/\s*/,'')!='') { 
    8                               $.toolbarPopup('popup_link.php?editor='+editor.name); 
     8                              $.toolbarPopup('popup_link.php?plugin_id=dcCKEditor'); 
    99                         } 
    1010                    } 
     
    2626                              editor.getSelection().selectElement(element); 
    2727 
    28                               var popup_url = 'popup_link.php?editor='+editor.name; 
     28                              var popup_url = 'popup_link.php?plugin_id=dcCKEditor'; 
    2929                              if (element.getAttribute('href')) { 
    3030                                   popup_url += '&href='+element.getAttribute('href'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map