bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI
http://hallojs.org/
MIT License
2.43k stars 316 forks source link

Editor inherits text styling. #182

Open Gabrinthei opened 11 years ago

Gabrinthei commented 11 years ago

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.

Gabrinthei commented 11 years ago

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.