bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI

Home Page:http://hallojs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editor inherits text styling.

Gabrinthei opened this issue · comments

I've noticed that whenever I paste some text from another source, the Hallo editor inherits all of the styling for the text by using span. When it does this, it seems to add some conflicts with headers and such, since it's setting the font size and continues throughout the rest of the editor. Is there any way to disable this?

Thank you.

For now, I just added a script to ignore any styling being pasted in. It would still be nice to have an option to disable this feature in the future.