Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
4.02k stars 615 forks source link

DIV gets replaced by P #279

Closed timint closed 8 years ago

timint commented 8 years ago

Customers report an unexpected behavior of divs being transformed to p tags. The expected behavior was to remain div.

Alex-D commented 8 years ago

You need to set semantic option to false. Cf. http://alex-d.github.io/Trumbowyg/documentation.html#semantic

timint commented 8 years ago

Thanks Alex. I made no note of div in the documentation but I will see if that does the trick.

zanozik commented 7 years ago

divs still keep changing to p, even though semantic: false latest version 2.5.1, no other option is set, no plugins loaded.

artus9033 commented 7 years ago

Experiencing the same problem, though semantic is set to false; any solution?