#3133: insertElement incorrect after deleteContents
-----------------------+----------------------------------------------------
 Reporter:  garry.yao  |       Owner:              
     Type:  Bug        |      Status:  new         
 Priority:  Normal     |   Milestone:  CKEditor 3.0
Component:  General    |     Version:  SVN         
 Keywords:             |  
-----------------------+----------------------------------------------------
 If there's a insertion happened after the selection range content is
 deleted, the inserted element is at the end instead of in the front.[[BR]]
 Take the smiley plugin for reproducing:
  1. Make the content and selection as below:
 {{{
                 <p>te^xt</p>
                 <ul>
                         <li>te^xt</li>
                 </ul>

 }}}
  1. Open the smiley plugin to insert a motion;
  * Expected Result:
 {{{
 <p>te</p><img alt=":)" title=":)" ...><ul><li>xt</li></ul>
 }}}
  * Actual Result:
 {{{
 <p>te<img alt=":)" title=":)" ...></p><ul><li>xt</li></ul>
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3133>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to