#3817: fckeditor crashes when loading page with script
--------------------------------------------+-------------------------------
 Reporter:  Kenny                           |       Owner:                 
     Type:  Bug                             |      Status:  new            
 Priority:  Normal                          |   Milestone:                 
Component:  General                         |     Version:  FCKeditor 2.6.3
 Keywords:  fckeditor crash loading script  |  
--------------------------------------------+-------------------------------
 I don't think the problem is related to the editor itself , but more
 likely by how IE6 handles scripts.

 When creating an fckeditor instance , as following :

  var oFCKeditor = new FCKeditor( 'FCKTEXT' ) ;
  oFCKeditor.BasePath = 'script/fckeditor/' ;
  oFCKeditor.Value = 'test<br/>test<script></script>test2' ;
  oFCKeditor.Create();

 If i run this , the editor crashes ( no fckeditor box is shown ) .
 It does show the following text :

 test2' ; oFCKeditor.Create();

 So , me guess is that , when IE6 encounters the a script block , it tries
 to execute it , regardless of whether it is inside quotes or not.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3817>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to