css - How to skip <p> tag in HTML? -


i'm trying use ckeditor wysiwyg editor blog posts. works fine, contents inserted fine in db.

however have 1 problem. ckeditor inserts automatic <p> tag in begining, mess code while returning db.(i loose css stylings).

therefore, i'm wondering there way tell html ignore(skip)

tag (and closing 1 in end).

thank you...

you need change configuration file (plugin.js) this: config.autoparagraph = false;

whether automatically create wrapping blocks around inline contents inside document body, helps ensure integrality of block enter mode.

http://docs.cksource.com/ckeditor_api/symbols/ckeditor.config.html#.autoparagraph


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -