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..


jcisio’s picture

Category:bug» support
Priority:Critical» Normal

WYSIWYG profile? Are you using CKEditor or WYSIWYG module?

Phil_oo’s picture

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 :

kabarca’s picture

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".

omvaishnav’s picture

Hi all,

Thanks for your reply!

Sorry that I couldn't check my messages again in these months as I had very busy schedule.

Now I want to tell you that this problem comes when I copy text from notepad file. When copy text from anywhere ckeditor auto add

tag except

. So can anyone help me to figure out this issue?

I am not using CKeditor module. I am using CKeditor library with Wysiwyg module, IMCE module and IMCE Wysiwyg bridge module.

@kabarca: I didn't not find this path in my drupal 7 site can you please help me ?

Thanks again to all for reply.

Om Vaishnav