Opened 5 years ago

Closed 5 years ago

#12671 closed Bug (invalid)

Pasting of double byte white space broken when copied from WordPad and into CKEditor in Internet Explorer

Reported by: Lukas Felber Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: IBM Cc:

Description

  • Steps to reproduce:
  1. create a html file with the following content: <html><title></title><body> &#12288;1<br> &#12288;&#12288;2<br> &#12288;&#12288;&#12288;3 </body></html>
  2. Open the file in Internet Explorer and copy all 3 lines.
  3. Paste them into WordPad (It's About window says 'Windows 7 Service Pack 1' only, WordPad does not seem to have a 'real' version)
  4. Copy the lines from WordPad again
  5. Paste into a ckeditor text field also in Internet Explorer (I'm currently using http://ckeditor.com/demo#inline for testing)
  • Actual output:
    ??1
    ????2
    ??????3
    
  • Expected output:
     1
      2
       3 
    

Change History (1)

comment:1 Changed 5 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

In this particular case this is how browser sees it. When you paste this particular data from WordPad, the IE sees:

??1
????2
??????3

In such case CKEditor can't do anything here as it receives already processed data. CKEditor can't guess that question marks it has received are in fact double byte spaces.

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