Hello!
On a form, I have several textarea fields, but one of these does not accept any HTML code (not a bug, just a wish).

How can I disable the HTML editor on a textarea field, without using the interface configuration CKEditor ?

( I would have a field of type textfield, but multiline in plain text)

Comments

mephir’s picture

Status: Active » Fixed

In profile you have got exclude/include settings. Below the editor you have got textarea id which should be copied into that settings.
http://drupal.ckeditor.com/setting-up-profiles?page=0,2

lphm’s picture

Status: Fixed » Active

I have already seen this functionality, but I would create programmatically this exclude, without editing directly settings by admin interface.

lphm’s picture

Issue tags: +ckeditor
mephir’s picture

Status: Active » Fixed

If writing own module you can add to that textarea #wysiwyg property with false(bool) value, after that ckeditor ignore that textarea.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

lphm’s picture

#wysiwyg works !

Thank you !