samclarke / SCEditor

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

Force setting of <p> instead of <div> #540

Open q2apro opened 7 years ago

q2apro commented 7 years ago

I have just realized that SCEditor sometimes sets div tags for new lines (paragraphs), which frontend result in one paragraph only (the div is not a block element).

Now I am wondering how I can force SCeditor to only set p tags.

Hint: My guess is that this problem occurs on mobile devices only.

samclarke commented 7 years ago

Do you have an example where this is happening? I'm struggling to reproduce this.