#3318: There should be some guarantee at plugin loading order
-------------------------+--------------------------------------------------
Reporter: martinkou | Owner: martinkou
Type: New Feature | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version: SVN (CKEditor)
Keywords: Oracle |
-------------------------+--------------------------------------------------
Changes (by fredck):
* type: Bug => New Feature
Comment:
That's ok, and we could even consider implementing something that executes
"init" in the dependency order. But, this is not a bug. The requires
property is there to indicate that other plugins are to be loaded, not to
be executed in a specific order.
Currently, to avoid execution order issues, we don't need hacks. It's
possible to use the "beforeInit" and "afterInit" properties. When plugins
are loaded, "beforeInit" is called for all plugins, then "init" and
finally "afterInit". Plugins that are known to be used by others, like
"iframedialog", should use "beforeInit" for its initialization stuff.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3318#comment:2>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac