#3407: scripts aren't protected while loading content
------------------------+---------------------------------------------------
 Reporter:  alfonsoml   |       Owner:  arczi         
     Type:  Bug         |      Status:  assigned      
 Priority:  Normal      |   Milestone:  CKEditor 3.0  
Component:  General     |     Version:  SVN (CKEditor)
 Keywords:  Discussion  |  
------------------------+---------------------------------------------------
Changes (by arczi):

  * keywords:  => Discussion


Comment:

 It could be a new feature based on fakeElement:

 Plugin to protect custom elements and provide ability to edit content and
 attibutes in dialog.

 Something like that:


 {{{
 protectedElements:[
 {
         tagName : "script",                     // since 3.0
         className : "cke_script",       // since 3.0
         editable : false                        // default in 3.0
 },
 {
         tagName : "mytag",
         className : "cke_mytag",
         editable : true,                        // since 3.x
         check : function( element )     // since 3.x
         {
                 return ( element.getAttribute( "yes" ) == "no" );
         }
 },
 {
         tagName : "gallery",            //for mediawiki
         className : "cke_mv_gallery",
         editable : true
 }
 ]
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3407#comment:2>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to