Turn off enclosing <p> tags in CKEditor 3.0
Posted
by Kosi2801
on Stack Overflow
See other posts from Stack Overflow
or by Kosi2801
Published on 2009-12-30T00:28:47Z
Indexed on
2010/04/21
15:13 UTC
Read the original article
Hit count: 426
Is there a possibility to turn off the automatic enclosing of all written content within <p></p> in CKEditor 3.x?
I tried
CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR;
but this just changes the inline linebreaks to <br /> while leaving the enclosing paragraph.
Currently writing "Test" produces this output
<p>
Test</p>
but I want it to be simply
Test
Is there a configuration property for this or would another inline editor to be better suited for this?
© Stack Overflow or respective owner