megahertz / react-simple-wysiwyg

Simple and lightweight React WYSIWYG editor
https://megahertz.github.io/react-simple-wysiwyg/
MIT License
119 stars 21 forks source link

Default tag #47

Closed samburgers closed 1 month ago

samburgers commented 1 month ago

Hi there, is there any way to configure the default tag (when pressing enter) to be <p> instead of <div> ?

Thanks!

megahertz commented 1 month ago

No, the only way is to process the output text