samclarke / SCEditor

A lightweight HTML and BBCode WYSIWYG editor
http://www.sceditor.com/
Other
660 stars 188 forks source link

Html & MS Word insert missing whitespaces #99

Closed tucan39 closed 11 years ago

tucan39 commented 11 years ago

If you insert text copied from HTML page you get the following problem. Whitespaces which is not real whitespace but "\n" (new line code) look as whitespaces on HTML page and Sceditor WYSIWYG area but disappeared when you turn to plain bbcode edit mode or post the form. As the result you get some words stuck together. Sceditor should convert "\n" to whitespace. The similar problem we have inserting text from MS Word 2010. Some whitespaces between word disappeared. I don't think that it is "\n" chars as above but something like &xxxx; digital code.

samclarke commented 11 years ago

Thanks for reporting.

I think this is a duplicate of issue #88, if you use the 1.4.2-dev branch it should work correctly. If not just re-open this issue and I'll look into it.