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.
Hello
I have this problem... TinyMCE dissapear when I press "Preview", but if I disable "Ajax plugin - wysiwyg", all works perfectly on IE, but with Firefox or Chrome TinyMCE editor cannot save any changes...
Thanks!
Comments
Comment #1
fizk CreditAttribution: fizk commentedSame problem!
Subscribing
Comment #2
fizk CreditAttribution: fizk commentedActually.......seems like disabling Ajax WYSIWYG plugin did the trick :)
Only tested on Firefox 3
Comment #3
nileshgr CreditAttribution: nileshgr commentedSame here on FF3.
Comment #4
darthf1 CreditAttribution: darthf1 commentedIm using CKeditor and getting this bug too. I can click "Disable WYSIWYG-editor" and then "Enable WYSIWYG editor" and all works fine again.
Comment #5
detonator94 CreditAttribution: detonator94 commentedWhen enabled ajax for comments and use ckeditor I had message «Comment is required» when click on submit button in comment form. ajax for fckeditor module isn`t work with ckeditor. What should I do to use ckeditor with ajax module correctly?
Comment #6
nileshgr CreditAttribution: nileshgr commentedI switched to BBCode :)
Using BBCode also enables the use of geshiflter.
Comment #7
fizk CreditAttribution: fizk commentedI'm having this problem again :(
Comment #8
wmostrey CreditAttribution: wmostrey commentedThis is still happening (and I need the "Ajax plugin - wysiwyg" module).
Comment #9
wmostrey CreditAttribution: wmostrey commentedYou can try solving it with JS Alter, jQuery Form Update and jQuery AOP. These modules require no configuration: just enable them to fix the problems.
Comment #10
Apfel007 CreditAttribution: Apfel007 commentedthis don't work for me
Comment #11
MauPalantir CreditAttribution: MauPalantir commentedThis happened to me too while testing the validation & error messages.
Looking into the code, I saw that the wysiwyg plugin only detaches the editor when the form is submitted and does nothing afterwards, regardless of which happens to the form. When it is just submitted then everything is OK but if the form returns with a preview or an error then the editor still remains detached.
The full wysiwyg plugin is as follows: (file: ajax_wyswyg.js)
Then, I added a second test before the final "return true;" statement so the function responds to the hook 'message' too:
So if any "message" (preview, error, success, warning) comes back the plugin re-enables the editor with
wysiwygAttach()
.Comment #12
brendoncrawford CreditAttribution: brendoncrawford commentedComment #13
brendoncrawford CreditAttribution: brendoncrawford commentedFixed, thanks to @cluke009's contribution at https://github.com/brendoncrawford/drupal-ajax/pull/2
Comment #15
laxman.ghavte CreditAttribution: laxman.ghavte commentedFixed issue by using javascript code
removed old CKEDITOR instances for the text area.
where 'edit-message' was id of textarea.