#2732: Formatted (<pre>) content is replaced by "_FCKpd_1" when entering source
mode
-------------------------------+--------------------------------------------
 Reporter:  oPerrin            |       Owner:  alfonsoml      
     Type:  Bug                |      Status:  assigned       
 Priority:  High               |   Milestone:  FCKeditor 2.6.4
Component:  Core : Styles      |     Version:  SVN            
 Keywords:  Confirmed Review?  |  
-------------------------------+--------------------------------------------
Changes (by alfonsoml):

  * keywords:  => Confirmed Review?
  * owner:  => alfonsoml
  * version:  => SVN
  * status:  new => assigned
  * milestone:  => FCKeditor 2.6.4


Comment:

 The problem is that the calls changed in [2619] used the .AddItem as a
 function, using the returned value, but it turns out that
 
[https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/push
 Array::push()] returns the length of the new array, and the custom
 .AddItem did return the index of the new element.

 The following patch should fix it.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2732#comment:3>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to