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!
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.