I updated Wysiwyg today from 6.x-2.3 to 6.x-2.4 with no problem.
I have TinyMCE set as the editor for all my input formats/Wysiwyg profiles, although I did also have CKEditor installed in sites/all/libraries - I was not using this as an editor.
I then followed instructions in a recent Drupal Security News email (Advisory ID: PSA-2011-002 dated 15 June) about external libraries and plugins. This email said "remove the _samples directory from the (f)ckeditor installation or upgrade to a non-vulnerable version." I couldn't actually see what version of CKEditor I had installed so I just removed the _samples directory as instructed. Following that, the Wysiwyg toolbar disappeared from my node edit forms.
I tried uninstalling CKEditor and installing the latest version - no effect.
I tried removing CKEditor completely as it wasn't being used - no effect.
I tried reverting to Wysiwyg 6.x-2.3 - no effect.
I tried another update to Wysiwyg 6.x-2.4 - no effect.
It's not a permissions issue as I've been logged in as User1 for all the updates and in any case there are no permissions settings for Wysiwyg in admin/user/permissions
Can anyone help? This is driving me nuts, as is plain-text editing of my content :-(
Comments
Comment #1
twodThe _samples directory is not used or looked for at all by Wysiwyg, and should not be needed by the editor itself either.
You should be able to see which editor version you have installed on admin/settings/wysiwyg under the "Installation instructions" fieldset. The version number should also be visible after the editor name in the table showing which editor profiles have been assigned to which input formats, on the same page. If you do not see an editor name and version on an assigned profile, it indicates Wysiwyg is no longer able to detect the editor library which was once assigned to that format. You can still edit the existing profile(s) but you can't create new profiles with that editor until its installation is fixed.
I'm a bit confused about which editor is missing the toolbar, TinyMCE or CKEditor? You say you're only using TinyMCE profiles. If you are not using CKEditor you should simply be able to remove its folder, that won't affect TinyMCE at all. If the TinyMCE profiles are missing the toolbar and buttons have been enabled, it's a problem with the sites/all/libraries/tinymce folder which should show up as an "could not detect version"-error under "Installation instructions" - or simply "Not installed" if sites/all/libraries/tinymce wasn't found at all.
Note that 2.4 fixed detection of CKEditor versions 3.5.4 and 3.6, so you'll need that Wysiwyg version if you want to use those versions of CKEditor.
The FAQ might help you identify some common issues. Does that help?
Comment #2
thoughtcat commentedHi, thanks very much for the reply. In admin/settings/wysiwyg I've got four profiles (input formats) set up, three with TinyMCE version 3.4.2 as the editor, and one with no editor. These are the same settings as I had before I did the updates - the only difference between the settings now and before is that before, CKEditor was an optional editor I could have set for any of the profiles, but it wasn't set for any of them.
Thanks for the FAQ link, although the nearest issue on there to mine is http://drupal.org/node/417166#no-buttons - but in admin/settings/wysiwyg/profile/2/edit, where I would edit the settings for one of the input formats, I definitely have "enabled by default" ticked in "basic settings" and several options ticked in "buttons & plugins".
Is there anything else that controls whether the Wysiwyg toolbar is displayed in submit forms? Is it "turn-off-and-onable" globally somewhere that I might have either configured accidentally or which one of my updates could have overwritten??
Comment #3
aimutch commentedI'm having a very similar problem. I have TinyMCE 3.4.2 installed with Wysiwig 6.x-2.4. We have users that we've defined as "Content Editors". They've just started reporting that when they try to edit a blog item, the TinyMCE editor doesn't appear. But the TinyMCE editor does appear when editing an event or a page item.
I wasn't seeing this as the Administrator and nothing I changed seemed to resolve the problem. So I deleted the WYSIWIG profile associated with Full HTML and recreated it. Then I tried to create new content items (blog, page, etc.). When viewing those items in edit mode, the TinyMCE editor didn't appear for me as Administrator. When I went into "Buttons and Plugins" under the newly recreated profile, none of them were checked. When I checked them, saved the changes and then went back to the content items, the TinyMCE editor and the appropriate buttons appeared. What's odd about this is that when I viewed the "Buttons and Plugins" settings before I deleted the profile, none of them had been checked but the buttons still appeared. It was only after I deleted and recreated the profile did it start checking to see what buttons were checked in that area.
Even after deleting and recreating the profile, I still can't get the TinyMCE editor to appear for our "Content Editors" when viewing blog items. They also don't see the "Disable Rich Text" link under the body input box even though that setting is checked in the WYSIWIG profile. TinyMCE does appear for them when they edit event and page items.
As Administrator, I see the TinyMCE editor when editing any content type (blog, event, page, etc.)
Based on the above, it appears there's some kind of configuration problem going on here. I would first start with permissions but as thoughtcat noted, there's no permissions to check.
Comment #4
aimutch commentedI figured this out on my end and thought I would share in case it might be of help. I'm using the "Filter by Node Type" module and discovered that the Input Format applied to the blog posts didn't include the "Content Editors" role. It did include "Authenticated Users" but for some reason, it only worked once I added the "Content Editors" role to that Input Format. I don't know why that stopped working recently but that change fixed it for me.
Comment #5
aimutch commentedJust one more follow-up - I jumped the gun a bit on the above post. Turns out, adding the "Content Editors" to that Input Format didn't fix the problem for that group. Instead, I had to change the Input Format to allow both Filtered HTML and Full HTML on the blog content to get the editor to show up for "Content Editors" users. I don't know why that is since it doesn't make sense to me that it only works for those users when both Input Formats are selected but not when one or the other is checked. But it's now displaying for those users.
Comment #6
thoughtcat commentedMy problem isn't quite the same as aimutch's as none of my roles can see the rich-text toolbar, not even user1.
Comment #7
twod@aimutch, @thoughtcat, we've had problems detecting when only one format is available to a user before, but I thought those issues were fixed in the latest release(s). Are you using a module which alters the node form, input format descriptions (under the textarea) or perhaps does theme overrides for these things? Do you see any JavaScript errors on the page?
@thoughtcat, do you use a custom theme? If so, does it print $page_bottom before the body tag closes in the page template?
Comment #8
thoughtcat commentedSorted! It was being caused by a buggy update of Slideshow Creator (see http://drupal.org/node/1210106). This broke some elements of Ubercart (editing invoices, the cart itself) so I disabled Slideshow Creator and those issues went away, and my Wysiwyg editor has come back as well. I'll be reverting the slideshow module back to the previous release (which was working fine) for the moment.
Thanks for the input guys!
Comment #9
twodI assume the problems were resolved. If not, please reopen the issue.