Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It isn't possible to do that in CKEditor module in version 7.x-1.x, it would be possible in 7.x-2.x version - now i work on it so DEV version should be asap...
For now u can define new input format and add to this field, then CKEditor not attach there.
Have you found the time to add the feature to prevent CKEditor from loading on a specific page?
Rather than shutting out CKEditor from the entire page wouldn't it be more efficient to control which fields in a content type will display the editor? If not, how about toggling on/off if CKEditor is available to a particular content type.
What I'd like to see is control over whether COMMENTS displays the CKEditor. Currently it seems that the same control icons appear regardless if someone is creating a comment or creating an article (or any other content type).
Similar request - I'd like to be able to disable the ckeditor for all summary fields. This is a special field that only appears for fields configured as "Long text with summary". And then only appears when someone clicks the "Edit summary" link above the field.
I remember seeing a CSS (or xpath) selector configuration somewhere in a different version, perhaps 6.x branch?
Hi:
When you setup Ckeditor (in D6) there is a way where you can make it disable (CKEditor Global Profile). in the Fields to exclude/include: you can set up the pages where you want to exclude the CKEditor.
I hope this help you.
This was my first thought to fix this issue #1433280: Warning: Cannot modify header information - headers already sent but there is no such option to exclude loading on certain page or all pages except where I rely need CKEditor... so SUBSCRIBE to this feature. I had to disable CKEditor until that bug is fixed...
Simply from admin panel go to the "MANAGE FIELDS" of the required content type, edit the particular field and change the "Text processing" to "Plain text".
Although setting the field to "Plain text" does disable the editor it's not the same as "Filtered HTML" or "Full HTML", obviously. So it's not a working solution.
Got the same problem, and setting the field per content type is not even possible, as I need to restrict the input for messages send with the Message module (http://drupal.org/project/message).
The old D6 solution for restricting inputs to named input fields would be very handy here.
Unfortunately, doing this has caused a notice error in dblog:
Notice: Uninitialized string offset: 0 in user_account_form_validate() function (string 1254 in /home/horadric/public_html/modules/user/user.module file).
I have just realized that the method described in #18 doesn't work properly. The edit area now is like a textarea, but when I try to change some data in it - there is only one first letter of the message after saving...
I have installed CKeditor. However, a block on my front page is showing some social media logos and with the CK Editor switched on the whole layout changes. How to switch it off in blocks? (so no content types)
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commentedIt isn't possible to do that in CKEditor module in version 7.x-1.x, it would be possible in 7.x-2.x version - now i work on it so DEV version should be asap...
For now u can define new input format and add to this field, then CKEditor not attach there.
Greetings
Comment #2
keha3912 CreditAttribution: keha3912 commentedI'll be the first tester :)
Comment #3
Bensbury CreditAttribution: Bensbury commentedI need this too.
I don't need ck editor confusing admin users on certain fields when it's simple. But I do need the html options.
Unless I select plain text, it'll default to full-html even if I make a new non-ck editor format type.
So I'd like to be able to exclude fields too.
Thanks.
Comment #4
mefisto75 CreditAttribution: mefisto75 commentedYep, needed feature. For now I just hide it by default.
Comment #5
totap CreditAttribution: totap commentedI need it too very much.
Comment #6
andrenoronha CreditAttribution: andrenoronha commentedsubscribe
Comment #7
sachbearbeiter CreditAttribution: sachbearbeiter commentedsubscribe
Comment #8
Lakeside CreditAttribution: Lakeside commenteddczepierga,
Version 7.x.1.X-dev is installed.
Have you found the time to add the feature to prevent CKEditor from loading on a specific page?
Rather than shutting out CKEditor from the entire page wouldn't it be more efficient to control which fields in a content type will display the editor? If not, how about toggling on/off if CKEditor is available to a particular content type.
What I'd like to see is control over whether COMMENTS displays the CKEditor. Currently it seems that the same control icons appear regardless if someone is creating a comment or creating an article (or any other content type).
Comment #9
safetypinSimilar request - I'd like to be able to disable the ckeditor for all summary fields. This is a special field that only appears for fields configured as "Long text with summary". And then only appears when someone clicks the "Edit summary" link above the field.
I remember seeing a CSS (or xpath) selector configuration somewhere in a different version, perhaps 6.x branch?
Comment #10
Rar9 CreditAttribution: Rar9 commented+1
I don´t need CKeditor on Comment Boxes.
How to default it to Plain Text.... a solultion like under D6 would be ok for me.
Comment #11
manuel_mra CreditAttribution: manuel_mra commentedHi:
When you setup Ckeditor (in D6) there is a way where you can make it disable (CKEditor Global Profile). in the Fields to exclude/include: you can set up the pages where you want to exclude the CKEditor.
I hope this help you.
Manuel.
Comment #12
SilviuChingaru CreditAttribution: SilviuChingaru commentedThis was my first thought to fix this issue #1433280: Warning: Cannot modify header information - headers already sent but there is no such option to exclude loading on certain page or all pages except where I rely need CKEditor... so SUBSCRIBE to this feature. I had to disable CKEditor until that bug is fixed...
Comment #13
halmsx CreditAttribution: halmsx commentedhi
i disabled ckeditor in the new private message form using hook form alter.
this works for me. this didnt disable other fields. just the ones i wanted.
Comment #14
pritamsarkar CreditAttribution: pritamsarkar commentedSimply from admin panel go to the "MANAGE FIELDS" of the required content type, edit the particular field and change the "Text processing" to "Plain text".
Why so serious.. ;)
Comment #15
enzipher CreditAttribution: enzipher commentedAlthough setting the field to "Plain text" does disable the editor it's not the same as "Filtered HTML" or "Full HTML", obviously. So it's not a working solution.
Comment #16
traveller CreditAttribution: traveller commentedGot the same problem, and setting the field per content type is not even possible, as I need to restrict the input for messages send with the Message module (http://drupal.org/project/message).
The old D6 solution for restricting inputs to named input fields would be very handy here.
Comment #17
Anonymous (not verified) CreditAttribution: Anonymous commentedHi everyone,
Could anyone tell me how i can hide ckeditor from private message field in drupal 7.
Comment #18
Valera Tumash CreditAttribution: Valera Tumash commentedThere was a task for Drupal 7 to disable CKeditor for signature settings in user profile page. I was able to solve it with the next code:
Comment #19
Valera Tumash CreditAttribution: Valera Tumash commentedUnfortunately, doing this has caused a notice error in dblog:
Comment #20
Valera Tumash CreditAttribution: Valera Tumash commentedI have just realized that the method described in #18 doesn't work properly. The edit area now is like a textarea, but when I try to change some data in it - there is only one first letter of the message after saving...
Comment #21
Ronino CreditAttribution: Ronino commentedI found that you can use the #wysiwyg property on form fields to turn off CKeditor:
Nevertheless it would be nice if the include/exclude configuration option from the D6 version came back.
Comment #22
pritamsarkar CreditAttribution: pritamsarkar commentedIs this issue queue closed ? Or still anyone need to discuss more ?
Comment #23
Summit CreditAttribution: Summit commentedHi,
Set this to active again. I think this is a necessary item for CKEditor to be able to set it per field, right?
Greetings, Martijn
Comment #24
jlea9378 CreditAttribution: jlea9378 commentedThis feature used to exist. Where did it go???
Comment #25
jlea9378 CreditAttribution: jlea9378 commentedComment #26
upperholme CreditAttribution: upperholme commentedAny news on this issue? I used to find the ability to turn the editor off or on in D6 invaluable.
Comment #27
elsvandeveire CreditAttribution: elsvandeveire commentedI have installed CKeditor. However, a block on my front page is showing some social media logos and with the CK Editor switched on the whole layout changes. How to switch it off in blocks? (so no content types)
Comment #28
Ronino CreditAttribution: Ronino commentedYou might be interested in the patch I submitted to #2273977: Allow configuration based on fields instead of only text formats which allows configuration based on fields instead of only text formats.
Comment #29
skolesnyk CreditAttribution: skolesnyk commentedI don't see this option. Where's is it? Really, is it considered an after thought as if CKEditor must be present on all pages?
Comment #30
thronedigital CreditAttribution: thronedigital commentedHopefully I can be of help skolesnyk
On version 7.x-1.17
Ckeditor by default has an profile advanced option at
http://fisherindustries.nwcdev.com/admin/config/content/ckeditor
It is affecting filtered html
You can disable it by editing the Advanced profile and unchecking it.
Then on the field you don't want to display ckeditor set its default option to filtered text, and then it will no longer show.
Let me know if you have any issues.