#3497: Editor name not protected from bad chars
--------------------------------+-------------------------------------------
 Reporter:  notzippy            |       Owner:                     
     Type:  Bug                 |      Status:  new                
 Priority:  Normal              |   Milestone:  CKEditor 3.0       
Component:  General             |     Version:  CKEditor 3.0 Beta 2
 Keywords:  Escape editor name  |  
--------------------------------+-------------------------------------------
 If editor.name="this.is.my.control" then plugin.js causes a javascript
 error

 In plugin.js the following script is used:

 // Call the temporary function for the editing
 // boostrap.
 'window.parent.CKEDITOR._.contentDomReady' + editor.name + '( window );' +
 ...

 Issue is if editor name contains a "." then script will fail - one way to
 fix this is :

 'window.parent.CKEDITOR._[\'contentDomReady' + editor.name + '\']( window
 );' +

 nz

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3497>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to