Ticket #8609 (closed Bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

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

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

Change History

comment:1 Changed 2 years ago by Mex

  • Component changed from General to Core : Pasting

comment:2 Changed 2 years ago by j.swiderski

  • Status changed from new to pending

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 2 years ago by Mex

example of text to cut/copy

comment:3 Changed 2 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 2 years ago by j.swiderski

  • Status changed from pending to closed
  • Resolution set to duplicate

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy