Opened 9 years ago
Last modified 9 years ago
#14390 confirmed Bug
Indent plugin outdent doesn't work all the way using decimal ems
Reported by: | Nick DeSteffen | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Configure IndentOffset and indentUnit:
CKEDITOR.config.indentOffset = 1.618; CKEDITOR.config.indentUnit = 'em';
- Indent some text
- Outdent same text
Expected result
The element should not have the style attribute with the value "margin-left: 1.618em;"
Actual result
The element does have the style attribute with the value "margin-left: 1.618em;"
Other details (browser, OS, CKEditor version, installed plugins)
Chrome 48.0.2564.103 (64-bit) OSX 10.10.5
Problem can be reproduced at least from CKEditor 4.0.
There will always be one indentation step of leftovers -
"margin-left: 1.618em;