CKEditor html no linebreak in Firefox

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
svasti
Posts: 1651
Joined: Wed Dec 17, 2008 5:08 pm

CKEditor html no linebreak in Firefox

Post by svasti » Mon Mar 16, 2015 5:50 pm

Unfortunately it seems that in the new versions of Firefox CKEditor doesn't break the lines in html view.
Although it does so in all the other browsers I tried. Can anybody replicate this strange behavior?

Same with CKEditor 4.4.7. :cry:

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: CKEditor html no linebreak in Firefox

Post by cmb » Mon Mar 16, 2015 11:19 pm

Confirmed for the online demo. A workaround might be to remove the following from editor_gecko.css:

Code: Select all

.cke_source {
    white-space: pre;
}
Ah, just found a respective bug report: http://dev.ckeditor.com/ticket/13031. The milestone has been set for 4.4.8, so presumably it'll be fixed soon.
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1651
Joined: Wed Dec 17, 2008 5:08 pm

Re: CKEditor html no linebreak in Firefox

Post by svasti » Tue Mar 17, 2015 1:29 pm

Ah, it's good to have a fix. I used: white-space: pre-wrap;

Post Reply