Opened 11 years ago
Closed 11 years ago
#10913 closed Bug (fixed)
Plugins added with CKEDITOR.plugins.addExternal do not work
Reported by: | Wiktor Walc | Owned by: | Frederico Caldeira Knabben |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.2.2 |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
I moved the smiley folder out of the ckeditor/plugins
folder and put it into a separate location. To use the extra plugin:
CKEDITOR.replace( 'editor1', { extraPlugins : 'smiley' } );
I'm trying to register an external plugin.
This one works:
CKEDITOR.plugins.addExternal( 'smiley', '/plugins/smiley/', 'plugin.js' );
while this method doesn't fully work:
CKEDITOR.plugins.addExternal( 'smiley', '/plugins/smiley/plugin.js', '' );
According to the documentation, both should work.
The result for the latter is that the English translation is not properly loaded, as a result the editor does not start at all.
The requested URL for the language file is:
/plugins/smiley/plugin.jslang/en.js
Change History (5)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | → 4.0 |
comment:2 Changed 11 years ago by
Milestone: | → CKEditor 4.2.2 |
---|
comment:3 Changed 11 years ago by
Owner: | set to Frederico Caldeira Knabben |
---|---|
Status: | confirmed → review |
Pushed fixes on t/10913 on both dev and tests.
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with git:cec1019.
This issue was fixed in 3.x with ticket: #5250. It was workinhg fine till 3.6.6 and got broken again in version 4.x.