Opened 16 years ago
Closed 16 years ago
#3148 closed Task (fixed)
Implement a simpler way for loading external plugin JavaScript files
Reported by: | Martin Kou | Owned by: | Frederico Caldeira Knabben |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 3.0 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Oracle Review+ | Cc: | Senthil |
Description
External plugin files are often not named plugin.js, so that CKEDITOR.plugins.addExternal() don't work for them.
The current solution is that the web app developer using CKEditor would define a separate function called CKEDITOR_GETURL() that will scan for patterns of his files and output the correct URL.
While the approach works, it is still too complicated and error-prone for many web app developers. A simpler way is needed to enable external plugins with arbitrary file names to be loaded.
Attachments (2)
Change History (6)
Changed 16 years ago by
Attachment: | 3148.patch added |
---|
comment:1 Changed 16 years ago by
Keywords: | Review? added |
---|---|
Status: | new → assigned |
Changed 16 years ago by
Attachment: | 3148_2.patch added |
---|
comment:3 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
With the proposed patch, addExternal accepts a third optional parameter for the file name. If not provided, the default name is used.