#3051: Domiterator incorrect with enforceRealBlock
-----------------------+----------------------------------------------------
 Reporter:  garry.yao  |       Owner:              
     Type:  Bug        |      Status:  new         
 Priority:  Normal     |   Milestone:  CKEditor 3.0
Component:  General    |     Version:  SVN         
 Keywords:  Confirmed  |  
-----------------------+----------------------------------------------------
Changes (by garry.yao):

  * keywords:  => Confirmed


Old description:

> When domiterator establish new block for one of the  pseudo blocks,
> others should be left untouched, which is currently not respected.
> === Procedures ===
>  1. Open  the ''replace by code'' example page;
>  1. Make the following content with selection:
> {{{
> <div>
>         first
>         <p>paragraph</p>se^cond</div>
> }}}
>  1. Click on ''Increase Indent'' command.
>  * Actual Result : A new paragraph is establish for text node 'first' and
> is indented also.
> {{{
> <div>
>         <p style="margin-left: 40px;">
>                 first</p>
>         <p>
>                 paragraph</p>
>         <p style="margin-left: 40px;">
>                 second</p>
> </div>
> }}}
>  * Expected Result : The pseudo block contains text 'first' should be
> left untouched while the 'second' chunk should be indented.
> {{{
> <div>
>         first
>         <p>
>                 paragraph</p>
>         <p style="margin-left: 40px;">
>                 second</p>
> </div>
> }}}

New description:

 When domiterator establish new block for one of the
 [http://www.w3.org/TR/CSS2/visuren.html#anonymous-block-level pseudo
 blocks], others should be left untouched, which is currently not
 respected.
 === Procedures ===
  1. Open  the ''replace by code'' example page;
  1. Make the following content with selection:
 {{{
 <div>
         first
         <p>paragraph</p>se^cond</div>
 }}}
  1. Click on ''Increase Indent'' command.
  * Actual Result : A new paragraph is establish for text node 'first' and
 is indented also.
 {{{
 <div>
         <p style="margin-left: 40px;">
                 first</p>
         <p>
                 paragraph</p>
         <p style="margin-left: 40px;">
                 second</p>
 </div>
 }}}
  * Expected Result : The pseudo block contains text 'first' should be left
 untouched while the 'second' chunk should be indented.
 {{{
 <div>
         first
         <p>
                 paragraph</p>
         <p style="margin-left: 40px;">
                 second</p>
 </div>
 }}}

--

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3051#comment:2>
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