Opened 8 years ago

Last modified 6 years ago

#4891 confirmed Bug

Paste: Indentation problems for simple indented text

Reported by: Damian Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: IBM Cc: Joe Kavanagh

Description

There are a few different problems with indented text. Different behaviour is observed depending on the users selection of "Measurement units" under the menu option Tools -> Options -> General Tab in Word.

When Picas is selected:
The indented text is pasted with "margin-left: XXpc;". This works for a single indentation. For multiple indentations on a single line, when "Decrease Indent" is applied once, all the indentation is removed.

When centimetres, millimetres or points is selected:
The indented text is pasted with "margin-left: XXpt;" (points). Alignment of different indentations is inconsistent after altering the indentation level using Increase or Decrease indentation feature due to these functions using pixels.

When inches is selected:
Same behaviour as with Picas except:
When pasting text with a single indentation into IE, no "margin-left" style is applied.
When pasting text with a single indentation into FF, it is not possible to Decrease the indentation.

Attachments (1)

SimpleIndentationTest.doc (24.5 KB) - added by Damian 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by Damian

Attachment: SimpleIndentationTest.doc added

comment:1 Changed 8 years ago by Garry Yao

Keywords: Confirmed added
Milestone: CKEditor 3.1CKEditor 3.x

It's a matter of normalizing the indentation unit, similar with #4887, we're not going to fix it now.

comment:2 Changed 7 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

comment:3 Changed 7 years ago by Paweł Horzela

Owner: set to Paweł Horzela
Status: confirmedassigned

comment:4 Changed 7 years ago by Paweł Horzela

Owner: Paweł Horzela deleted
Status: assignednew

comment:5 Changed 6 years ago by Jakub Ś

Status: newconfirmed

This is still reproducible in latest CKEditor 3.6.2

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