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.
If I edit a global textarea the editor is not loaded, but the normal well known edit form is shown. How can I load the editor in this fields?
Comment | File | Size | Author |
---|---|---|---|
#2 | issue-ckeidt-on-views-global-text-area.jpg | 40.13 KB | kendouglass |
Comments
Comment #1
dmsmidtDoes the textarea use a input format with a ckeditor profile setup for it?
Check those two pages: admin/config/content/formats and admin/config/content/ckeditor.
If that's not the issue try to give some more info, like: modules installed, ckeditor package version, jQuery version.
Also read the readme and troubleshooting files in the module folder.
Good luck!
Comment #2
kendouglass CreditAttribution: kendouglass commentedSame problem here.
Drupal 7.31
ckeditor 7.x-1.15 (2014-Jul-15)
CKEditor 4.4.3 (standard-all)
Views 7.x-3.8
jQuery v1.4.4
Comment #3
cyberitch CreditAttribution: cyberitch commentedI also have this issue, anyone found a solution?
Comment #4
BartNijs CreditAttribution: BartNijs commentedThis works as designed. In these files the wysiwig editor is disabled:
views/handlers/views_handler_area_text.inc
views/plugins/views_plugin_exposed_form_input_required.inc
To enable the editor find this line in both files and replace FALSE with TRUE:
'#wysiwyg' => TRUE,
Comment #5
selva8187 CreditAttribution: selva8187 commented#4 Working good for me Thanks Bartelli
Comment #6
Arunah CreditAttribution: Arunah commentedThanks Bartelli #4 works
Comment #7
noahterp CreditAttribution: noahterp commentedInstead of hacking Views, you can also alter that property in a custom hook_form_alter() call, such as:
However, it appears that CKEditor is caching its contents. So if you have multiple textareas within a View — like both Header and Footer text — then the contents of the first textarea you visit will incorrectly reappear in the second one. Reloading the Views admin page will force CKEditor to show the correct contents for the first textarea you then visit, but subsequent textareas will again show the wrong one.
Does anyone know a way to prevent CKEditor from caching its contents here? [We can split this to a separate issue if it's an actual Views or CKEditor bug]
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commented----- i'm mistake with branch, sorry -----
noahterp thanks for #7, it works, but now (8.x) "wysiwyg" replace to "editor"
I tried to reproduce the problem of CKEditor cache. I used Header + Header and Header + Footer. No problem. Perhaps it is already solved.
Comment #9
jkstermitz CreditAttribution: jkstermitz commentedUpdating the views handler and views plugin inc files (and purging cache and browser cache) doesn't work for me (2017). Latest views, drupal 7, etc.
I noticed I have a "views_handler_text_area_custom.inc" file - which has the following in it:
Any chance this is overriding my edited file with wysiwyg="TRUE"?? Just fishing for a cause.