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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -