Opened 7 years ago

Closed 7 years ago

#17037 closed Bug (invalid)

White Space is removed in Chrome

Reported by: vedprakash Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Write any text in editor in chrome with space e.g. Hello
  2. Copy paste the same in Editor eg. Hello Hello Hello
  3. After saving it removes the space eg. HelloHelloHello

Expected result

Hello Hello Hello

Actual result

HelloHelloHello

Other details (browser, OS, CKEditor version, installed plugins)

Browser: Chrome (Version 58.0.3029.110 (64-bit))

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.7.0 (GitHub - major)

I'm sorry but CKEditor is JavaScript application. It has nothing to do with saving data. From what I have checked executing CKEDITOR.instances.editor1.getData(); (which is what is happening when you submit data), editor returns <p>Hello&nbsp;Hello&nbsp;Hello&nbsp;</p>.

Spaces are not removed by the editor. You need to look for code on your server-side which removes blanks spaces or &nbsp;.

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