Opened 12 years ago

Closed 12 years ago

#8609 closed Bug (duplicate)

Tab characters don't get properly converted to spaces

Reported by: Mex Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: Cc:

Description

When pasting data into the editor, tab characters don't get converted properly to spaces.

Firefox seems to work well, and IE sort of works, here's the results:

Browser (Browser Version) - Spaces Per Tab Character


Firefox (9.0) - 4

IE (9.0.8112.16421) - 1

Opera (11.60) - 0

Chrome (16.0.912.63 m) - 0

Safari (5.1.2) - 0

I'm an Opera user, and am having to indent code manually after pasting it in, due to tabs being converted to 0 spaces.

Attachments (1)

example.txt (8 bytes) - added by Mex 12 years ago.
example of text to cut/copy

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Mex

Component: GeneralCore : Pasting

comment:2 Changed 12 years ago by Jakub Ś

Status: newpending

When pasting data into the editor, tab characters don't get converted properly to spaces.

@Mex Where do you paste this text from? Could you perhaps give us sample file with this tabbed text so that we could see the problem for our selves?

Changed 12 years ago by Mex

Attachment: example.txt added

example of text to cut/copy

comment:3 Changed 12 years ago by Mex

i copy the text from Notepad or Notepad++.

i've uploaded a file with a tab on the 2nd line, when you paste the entire file content's into the editor, the b character doesn't get indented.

comment:4 Changed 12 years ago by Jakub Ś

Resolution: duplicate
Status: pendingclosed

DUP of #4876

Good explanation why this is a 'won't fix' may be found in http://dev.ckeditor.com/ticket/7622#comment:2

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