Opened 3 years ago

Last modified 3 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

  1. Configure IndentOffset and indentUnit:
  CKEDITOR.config.indentOffset = 1.618;  
  CKEDITOR.config.indentUnit = 'em';
  1. Indent some text
  2. 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

Change History (1)

comment:1 Changed 3 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.74.0

Problem can be reproduced at least from CKEditor 4.0.

There will always be one indentation step of leftovers - "margin-left: 1.618em;

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