<p> wrappping tags in TinyMCE



I want to raise an old discussion about the automatically added </p> wrapping tags for every content in XhtmlString area.


Is there any more delicate way for excluding that in EPiServer, version 7.5?

Thanks in advance!

Mar 07, 2014 15:00

Hi, a developer could easily implement a "property setting" with a separate editor configuration where the editor behaves differently.

However, the only case where P elements are bad is when you want a webeditor to edit a one-line text block where a P element is semantically wrong. In those cases it's easier to strip the P elements out in template code.

Classic "too much space after the line" cases are much better solved from CSS instead of "destroying" the semantics of the document by not allowing P elements.

Mar 10, 2014 11:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.