Actually CKEditor use a big and complicated exclude mode rules to disabling/enabling. So CKEditor can be automatically enabled on the admin and add html balise in textarea used for configuration.
This is really a problem on collapse field or empty field (CKEditor can add a "p" html tags) and no html field...

This is critical because with any change from the user but only save settings or node CKeditor change the content.

I propose to change to include mode with this rule:

node/*.edit-body

Comments

wwalc’s picture

Category: bug » feature
Priority: Critical » Normal
gagarine’s picture

Title: Use Include mode by default » Default settings need to be right and safe: use include mode by default

Default settings need to be right and safe. I think if a module destroy data is not a feature request... and is easy to fix.

to be clear: your content is "tada" after saving with no change is "< p >tada< / p >". Than can break you design if it's the settings for the footer message.

gagarine’s picture

Title: Default settings need to be right and safe: use include mode by default » Use include mode by default
jcisio’s picture

Title: Use include mode by default » Allow to choose include/exclude mode

#2 if you don't want it, simple switch to the plaintext mode, then later add the exception in the settings page.

That said, I think that it need an option for that.

gagarine’s picture

Title: Allow to choose include/exclude mode » Use include mode by default for the global profil

I mean in admin/settings/ckeditor/editg

jcisio’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

Oh sorry, I didn't see that the Include/Exclude mode is already availble. So the new title doesn't make any sense.

I leave it for the maintainers to decide. However, I don't understand why it makes trouble, because anything in the admin page will be disabled be default (the first exclude rule is "admin/*"). And by default, too, there is a textlink below the editor to turn it on/off.

dczepierga’s picture

Status: Active » Closed (won't fix)

I don't uderstand why it makes trouble too... So i don't think we change it.