Opened 16 years ago
Closed 15 years ago
#3399 closed Bug (invalid)
Indenting multi-line paragraph indents entire paragraph
Reported by: | Josh Nisly | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | SVN (CKEditor) - OLD |
Keywords: | Cc: |
Description
- Open the replace by class example page.
- Start with the following source:
<p> line 1<BR> ^line 2<BR> line 3<BR> </p>
- Press the indent button.
- The middle line should be the only indented line, but all three lines are indented.
This can be reproduced in the nightly samples once #3398 is fixed.
I believe the solution is to create the following source on indent:
<p> line 1<BR> </p> <p style="text-indent: 18pt"> ^line 2<BR> </p> <p> line 3<BR> </p>
Does this sound right? If so, I can look into fixing it.
Change History (3)
comment:1 Changed 16 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
#3051 has been closed, but this is still an issue. Reopening.
comment:3 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Actually, the current is the expected behavior, at least with default settings, when enterMode='p'. In this case, the entire paragraph gets indented. Even MS Word has behaves like this.
The effect you're expecting having is achieved only when enterMode='br'. I've just tested it and it works properly.
So, no bug here.
Nice discovery, this one would be at #3051.