Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.x-dev
Component:
Editor - TinyMCE
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2009 at 12:04 UTC
Updated:
1 Oct 2009 at 18:50 UTC
Jump to comment: Most recent
Comments
Comment #1
myDRU commentedThere are three reasons that cause tinymce not to work after upgrade:
1.
You forgot to run update.php.
or
2.
you combined tinymce and img_assist in the way described in http://drupal.org/node/349568, without applying the there described workaround.
or
3.
In work with the wysiwyg api and img assist and you enabled a language other than English in any of the wysiwyg input formats. If you do so without adding your language in sites\all\modules\img_assist\drupalimage\langs, the tinymce editor will not work. You need to create for instance a 'nl.js' file there if you want to select Dutch. This only takes 20 seconds to do.
Hope this helps.
Hope also that in sites\all\modules\img_assist\drupalimage\langs by default many more languages will be added, to avoid this error.
Comment #2
richard.e.morton commentedDo you have the flash button enabled? I am about to post an issue about the flash button. Try disabling it.
I have wysiwyg api with tinymce 3.x
R
Comment #3
sunAnother possible reason would be that you just changed the selected editor in the wysiwyg profile overview. You cannot do that, because each editor requires its own configuration. So, to switch a profile to another editor, you have to remove it and create a new one.
Seems like this would make up a very good, new FAQ entry in the other issue, once resolved. (1 Q with multiple Answers)
@spade: Please report back about the status of this issue.
Comment #4
andrew_kabai commentedI have the same problem after the upgrade.
I didn't forget to run update.php, I don't have img_assist module, flash button is disabled.
Default input type is Filtered HTML and for this input type I have a TinyMCE 3.2.1.1 profile, but I can see only textareas, without editor buttons.
So, I don't have TinyMCE buttons, but under the textarea the "Disable rich-text" link is showed and it looks like working.
Any idea?
Comment #5
dalad commentedSame happens to me in a fresh wysiwyg API 6.x-1.0 + TinyMCE 3.2.1.1 installation. Only thing I get is the Disable/Enable rich text link
Comment #6
andrew_kabai commentedupdate:
it seems the problem source is IMCE.
In my case IMCE is installed as a separated module (http://drupal.org/project/imce).
Previously in wysiwyg / tinymce profile / button settings I had to select IMCE, but it used the separated IMCE drupal module, not the IMCE module under the tinymce setup.
Now, if I uncheck IMCE button the tinyMCE is showed and it's working fine, but without IMCE.
If I set back the IMCE button, the TinyMCE is not working.
update2:
wysiwyg api is changed. for earlier version i had the code below (in a little module) to implement imce to wysiwyg/tinymce:
and now this cause the problem.
without this module tinymce is working fine.
i made this implementation in a little module, but the users can read some other methods in imce readme, so maybe the imce implementation is the problem in other cases too...
update 3:
here is the solution: http://drupal.org/node/287025#comment-1255093
thx sun!
Comment #7
dalad commentedI don't get it, there must be something more. I don't have IMCE module installed, but tinyMCE does not show up.
I don't know if this is relevant, but I do have ImageAPI 6.x-1.2 installed.
I'll try installing IMCE and applying the patch.
Comment #8
josys64 commentedHi, same problem but if i disable the flash button the toolbar appear (as said #2)
Comment #9
dalad commentedSee also:
http://drupal.org/node/380102
Comment #10
crookednumber commentedI had similar problem. As with #2 and #8, disabling flash button fixed it.
Comment #11
obeliscus commentedHi
I'm having the same issue here.
Filtered HTML seems to work fine, however when I disable rich text and then enable it the editor dissapears.
The same thing happens when I switch to Full HTML, it just doesn't work at all.
I upgraded the module, don't have img_assist and I don't understand what or where the flash button is.
Thks for your help
obeliscus - newbie
Comment #12
hanoiiThis seems to be happening with 5.x-1.0 and tinyMCE 2.1.3, no flash or IMCE plugin, I think something went wrong on the update.
I have it enabled by default but I see no tinyMCE and the link reads: 'Disable rich-text editor'. If I click it once, nothing happens, if I click it twice, the editor appears to work as expected.
Comment #13
sunGuys. If an editor does not show up, there must be a JavaScript error somewhere. Use the error console and/or Firebug to catch the error message and post it here. Sorry, I still cannot replicate this bug.
Comment #14
richard.e.morton commentedI have just noticed, that if "Flash" button is enabled for anyof the input formats in wysiwyg settings (Administer -> Site Configuration -> Wysiwyg), then the editor doesnt appear, even if it is not the active input format, so to be sure; please make sure that all your wysiwyg input formats which are configured for TinyMCE do not have the buttons and plugins "flash" function checked.
I have installed firebug and looked at the firefox console but not sure what information you are looking for. If you can give me some directions I will gladly provide the infromation you need.
thanks
R
Comment #15
epicflux commentedWith the flash button checked the script calls: /sites/all/modules/wysiwyg/tinymce/jscripts/tiny_mce/plugins/flash/editor_plugin.js, but that file no longer exist in the tinymce package.
I think you'd have to bring up this issue with the tinymce folks.
Comment #16
epicflux commentedThey want you to use the media plugin now: http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media
This thread may have a fix: http://drupal.org/node/363632
Comment #17
hass commentedAnd I thought this was my fault... same as #5 here. Brand new standard installation - FCK works, Tiny not.
Comment #18
sunSorry, I have no idea what could be wrong on your sites.
Did anyone of you test whether it works with the latest development snapshot 1.x-dev? Did someone test whether it works with 2.x-dev?
Also:
If Wysiwyg API does not work as expected, please 1) Remove all buttons/plugins from your Wysiwyg profile except bold+italic buttons 2) Test whether the editor appears 3) If not, temporarily disable (all) other contrib modules 4) Test again 5) If the editor appears, re-enable other contrib modules step-by-step to see who's guilty.
Comment #19
myDRU commentedTincymce Editor disappears without any notice if does not have all it needs. Can this behaviour be changed in one that logs to the screen what tinymce lacks to appear? This can be a first step.
Comment #20
hass commentedI've tried to fix this issue and it's no save that this is an upgrade issue, but nevertheless I'm not sure what was the cause.
I have deleted the tinymce profile under admin/settings/wysiwyg/profile and than re-configured it and now it works.
Comment #21
hass commentedI found the source of this issue... select language DE, save the profile and create a new node... select the input format with tinymce and it doesn't load. Switch back to EN and it loads.
Comment #22
hass commentedIt would be a good idea if the module could check if "wysiwyg\tinymce\jscripts\tiny_mce\langs\de.js" (and/or maybe others) have the languages shown in the language select box... installing the required language pack helps and shows the editor in German... :-)
Comment #23
hass commentedComment #24
sunI need someone experienced to summarize this issue as a new FAQ entry in #359936: FAQ
Comment #25
hass commentedI think it is much more user friendlier to add one more validation function and to fill the languages drop down only with languages installed and available on the system. Nobody likes to read a readme.txt! Intuitive usability is much better...
Comment #26
sun@hass: And it is much more friendly to create and submit a patch for the proper issue (#362318: Limit wysiwyg language selection to available languages) than to complain about missing features. Read over there why it is not as simple as you might think.
Comment #27
hass commentedThx for the link. I wasn't aware about the other case. In general I'm not providing patches, until a consensus is found how something should be fixed or not.
Comment #28
obeliscus commentedWell, I tried what hass suggested, it didn't work either.
I'm a newbie, so I don't undertand what to do next.
Can you guys give me a clear explanation about it?
Thks
Comment #29
Andrew Schulman commentedsubscribing, ugh
Comment #30
snorkers commentedFor me it was removal of the Flash button that sorted things out. The enable/disable rich text toggle now works fine. Currently my site is running only EN, but will be venturing into Spanish soon...
Comment #31
dmitrit commentedThis may be caused also by page compression (Administer > Performance)
Comment #32
candelas commentedi get the same problem in 6.x.2.0
i dont have the flash botton sellected.
have followed the instructions on the FAQ to install a language pack
http://drupal.org/node/417166
i downloaded 3 different languages (french, spanish and catalan)
i put them in sites/all/libraries/tinymce/jscripts/tiny_mce/langs , where en.js was.
i run update.php
if i choose a language other than english, TinyMCE will not work.
i have drupal 6.12 and i dont have image assist.
i have tinymce_3_2_4_1
i have look on the issues but i can get it work.
thanks for any help :)
Comment #33
myDRU commentedYou should use the tinymce version from http://tinymce.moxiecode.com and the language pack from there (I think you are doing this already).
But then, the tinymce should become embedded in wysiwyg (http://drupal.org/project/wysiwyg).
So, your file structure will be:
\sites\all\modules\wysiwyg
\sites\all\modules\wysiwyg\tinymce (in other words, unpack your tinymce in the wysiwyg dir).
and finally unpack your language pack in the tiny_mce subdir \sites\all\modules\wysiwyg\tinymce\jscripts\tiny_mce.
Once this done, you must configure the wysiwyg module according to the documentation.
Comment #34
snorkers commented@myDRU.... except wysiwyg has now changed so that external editors don't sit in sites/all/modules/wysiwyg anymore: they now reside in sites/all/libraries - which is great as you don't overwrite them when updating modules.
Comment #35
whatdoesitwant commented@snorkers
I can confirm that the placement of tinymce in the new libraries folder (sites/all/libraries) causes the familiar behaviour whereby tinymce disappears after switching from
entonlin the wysiwyg settings (proper moxiecode language packs installed in the libraries/tinymce folder. Perhaps the new paths have not been updated?Does anyone know of a quick fix? I accidentally threw away my old version of wysiwyg before checking the new behaviour.
I don't know how to patch but i could test if that is possible on windows.
version 6.x-2.0
Comment #36
Anonymous (not verified) commentedComment #37
geek-merlinconfirming this after a fresh install of wysiwyg 6.x-2.0 and tinymce 3.2.6
getting my tinymce language pack solves the problem for me.
until there is a thorough solution there should be a warning in the installation instructions like so:
"Please note that you have to download and install the appropriate language packs separately. Not doing this may result in the editor silently not working. For details see http://drupal.org/node/379182"
Comment #38
twodSee this: #362318: Limit wysiwyg language selection to available languages Once implemented you will no longer end up in this situation.
EDIT: Whoops, did not see the problem in #35. Please reopen this if there is still a problem.
Comment #39
Anonymous (not verified) commentedJust to clarify this: get the language pack from http://tinymce.moxiecode.com/download_i18n.php and ignore the installation instruction which says the contents of the folder should go under your TinyMCE root directory. Instead, the right place is
/path/to/your/library/tinymce/jscripts/tiny_mce.On most installations this would be
/sites/all/libraries/tinymce/jscripts/tiny_mce.