Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6207 closed Bug (fixed)

Indentation using classes fail

Reported by: Jorge Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.4.1
Keywords: Cc:

Description

There is not possible to indent 3 levels, and the remove indentation buttom only works in the first level.

This bug had reported and solved in version 3.1 (Ticket #5152), but in version 3.3.1 [5548] it "came back".

Replace the line:

element.addClass( editor.config.indentClasses[ indentStep - 1 ] );

with this one to solve it:

element.$.className = CKEDITOR.tools.ltrim( className + ' ' + editor.config.indentClasses[ indentStep - 1 ] );

Change History (4)

comment:1 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Expired in 3.4.2.

comment:3 Changed 14 years ago by Tony Miller

I just tried the nightly build and it looks like this is now fixed.

comment:4 Changed 14 years ago by Garry Yao

Version: 3.4.3 (SVN - trunk)3.4.1
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy