Opened 7 years ago

Closed 7 years ago

Last modified 7 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 7 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Expired in 3.4.2.

comment:3 Changed 7 years ago by Tony Miller

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

comment:4 Changed 7 years ago by Garry Yao

Version: 3.4.3 (SVN - trunk)3.4.1
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy