Opened 6 years ago

Closed 6 years ago

#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:


  • Open the replace by class example page.
  • Start with the following source:
    line 1<BR>
    ^line 2<BR>
    line 3<BR>
  • 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:

line 1<BR>
<p style="text-indent: 18pt">
^line 2<BR>
line 3<BR>

Does this sound right? If so, I can look into fixing it.

Change History (3)

comment:1 Changed 6 years ago by garry.yao

  • Resolution set to duplicate
  • Status changed from new to closed

Nice discovery, this one would be at #3051.

comment:2 Changed 6 years ago by highjinx_53

  • Resolution duplicate deleted
  • Status changed from closed to reopened

#3051 has been closed, but this is still an issue. Reopening.

comment:3 Changed 6 years ago by fredck

  • Resolution set to invalid
  • Status changed from reopened to 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.

Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy