Saturday, March 22, 2014

Prevent addition of default paragraph tag by ckeditor


to prevent addition of default paragraph tag

by ckeditor we have to add below lines in config.js

CKEDITOR.editorConfig = function (config) {
    config.enterMode = CKEDITOR.ENTER_BR;
    config.shiftEnterMode = CKEDITOR.ENTER_BR;

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates