#2906: Make it possible to load multiple plugins from a single plugin.js file
-------------------------+--------------------------------------------------
 Reporter:  martinkou    |       Owner:  martinkou   
     Type:  New Feature  |      Status:  new         
 Priority:  High         |   Milestone:  CKEditor 3.0
Component:  General      |     Version:  SVN         
 Keywords:               |  
-------------------------+--------------------------------------------------

Old description:

> This feature request came from Senthil Kumaran of Oracle.
>
> It is possible for some CKEditor users to have a lot of custom plugins
> written inside a single plugin.js file. Right now it is impossible for
> CKEditor to do so because even if you've defined a number of plugins
> pointing to the same path, like:
>
> {{{
> CKEDITOR.plugins.addExternal( 'my_plugin_1', 'file://c:/my_plugins/' );
> CKEDITOR.plugins.addExternal( 'my_plugin_2', 'file://c:/my_plugins/' );
> CKEDITOR.plugins.addExternal( 'my_plugin_3', 'file://c:/my_plugins/' );
> CKEDITOR.plugins.addExternal( 'my_plugin_4', 'file://c:/my_plugins/' );
> }}}
>
> And instructed the editor to initialize all of them:
> {{{
> config.plugins += ',my_plugin_1,my_plugin_2,my_plugin_3,my_plugin_4';
> }}}
>
> The editor would still only initialize one of the plugins, because it
> thinks it has already done the initialization for
> file:///c:/my_plugins/plugin.js after the first init() call. Subsequent
> plugin initializations are ignored right now.

New description:

 This feature request came from Senthil Kumaran of Oracle.

 It is possible for some CKEditor users to have a lot of custom plugins
 written inside a single plugin.js file. Right now it is impossible for
 CKEditor to do so because even if you've defined a number of plugins
 pointing to the same path, like:

 {{{
 CKEDITOR.plugins.addExternal( 'my_plugin_1', 'file:///c:/my_plugins/' );
 CKEDITOR.plugins.addExternal( 'my_plugin_2', 'file:///c:/my_plugins/' );
 CKEDITOR.plugins.addExternal( 'my_plugin_3', 'file:///c:/my_plugins/' );
 CKEDITOR.plugins.addExternal( 'my_plugin_4', 'file:///c:/my_plugins/' );
 }}}

 And instructed the editor to initialize all of them:
 {{{
 config.plugins += ',my_plugin_1,my_plugin_2,my_plugin_3,my_plugin_4';
 }}}

 The editor would still only initialize one of the plugins, because it
 thinks it has already done the initialization for
 file:///c:/my_plugins/plugin.js after the first init() call. Subsequent
 plugin initializations are ignored right now.

--

Comment(by martinkou):

 In the conference with Senthil yesterday, he also expressed that he wished
 to see something like this:
 {{{
 CKEDITOR.plugins.addExternal(
 'my_plugin_1,my_plugin_2,my_plugin_3,my_plugin_4', 'file:///c:/my_plugins'
 );
 }}}

 Instead of having to write an addExternal() line for every plugin in a
 file.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2906#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to