#2822: V3: Configurations must not use sub-namespaces
-----------------------+----------------------------------------------------
 Reporter:  fredck     |       Owner:              
     Type:  Bug        |      Status:  new         
 Priority:  High       |   Milestone:  CKEditor 3.0
Component:  General    |     Version:              
 Keywords:  Confirmed  |  
-----------------------+----------------------------------------------------
 This is something we though would be good, but I've just found out that
 it's evil. We must not use namespaces to organize the configurations under
 CKEDITOR.config, like CKEDITOR.config.'''dialog.magnetDistance'''.

 The reason why is that, if you try to change this setting in a custom
 configuration file (like the root config.js), the namespace
 (CKEDITOR.config.dialog) will not yet be available, because the dialog
 plugin will not yet be loaded. So, the execution breaks.

 We should still organize the configurations in a meaningful way, so I'm
 opting to use a "prefix", instead of a namespace there. In the above case,
 we would have CKEDITOR.config.'''dialog_magnetDistance'''.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2822>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to