#3051: Domiterator incorrect with enforceRealBlock
-----------------------+----------------------------------------------------
Reporter: garry.yao | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: |
-----------------------+----------------------------------------------------
Description changed by garry.yao:
Old description:
> === Procedures ===
> 1. Open the ''replace by code'' example page;
> 1. Make the following content with selection:
> {{{
> ^
> text
> <p>
> paragraph</p>
> text
> ^
> }}}
> 1. Click on ''Increase Indent'' command.
> * Actual Result : The middle paragraph is not indented.
New 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>
}}}
--
--
Ticket URL: <http://dev.fckeditor.net/ticket/3051#comment:1>
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