Can anyone help me to disable auto adding div tag in ckeditor version 3.6.6.x in Drupal7?

The ckeditor should add p tag in WYSIWYG profile.

waiting for any reply..

Comments

Category:bug» support
Priority:Critical» Normal

WYSIWYG profile? Are you using CKEditor or WYSIWYG module?

Maybe you have already solved this issue, but this solution could help somebody else :

If you are using WYSIWYG module, you have copied CKEditor files in the /sites/all/libraries/ folder.

You just have to update the config.js file:

CKEDITOR.editorConfig = function( config )
{
config.enterMode = CKEDITOR.ENTER_P;
};

More info here : http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode

Issue summary:View changes

Probably you already solved the problem but in case it happens to someone else, there's an settings page for CKEditor which allows you to configure this kind of automated and sometimes annoying behaviors. Get to the page below and then click on "CLEANUP AND OUTPUT".

...com/admin/config/content/ckeditor/edit/basic