Ticket #3399 (closed Bug: invalid)
Indenting multi-line paragraph indents entire paragraph
| Reported by: | highjinx_53 | 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
comment:1 Changed 4 years ago by garry.yao
- Status changed from new to closed
- Resolution set to duplicate
comment:2 Changed 3 years ago by highjinx_53
- Status changed from closed to reopened
- Resolution duplicate deleted
#3051 has been closed, but this is still an issue. Reopening.
comment:3 Changed 3 years ago by fredck
- Status changed from reopened to closed
- Resolution set to invalid
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.
Note: See
TracTickets for help on using
tickets.

Nice discovery, this one would be at #3051.