Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#13970 closed Bug (invalid)

writing a very long word, a horizontal scroll bar appears

Reported by: pig.li Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

writing a very long word with latest ckeditor, a horizontal scroll bar will appear using IE11 & Firefox. like "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc" without white-space in the string.

Change History (2)

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.5.5

Please use word-wrap: break-word; in CCS rule for body in contents.css or your page css if you are using inline editor.

Chrome for example adds this style by default. For other browsers you need to add this rule manually.

comment:2 Changed 9 years ago by Edson

CKEDITOR.addCss( 'body {word-wrap:break-word;' );
CKEDITOR.replace( 'editor' );

https://jsfiddle.net/d9pmfeyx/9/

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