As requested, here are some troubleshooting issues I ran into.
Noting them here for posterity and for a stepping stone into the handbook or a FAQ.
Some (or all) of these maybe covered elsewhere, but I couldn't find them easily, so here we go
Q: Page displays code (ex: [img_assist|nid=6|title=Testing|desc=|link=none|align=left|width=640|height=640] ) instead of image
A: Under Administer -> Site Configuration -> Input Formats edit the filter(s) that applies and make sure the "Inline Images" box is checked.
Q: Image title is showing but no image
A: sun suggested to add <img> to the HTML filter (Administer -> Site Configuration -> Input Formats) to allow the tag
Q: Images are uploaded and counted as available in the "Add Image" popup, but no thumbnails are shown
A: The issue I found was that I had already created a content type called Image before installing the image/image assist modules which caused problems with field names and types (obviously). This caused the thumbnails to not show AND caused the images to not show on the post itself (see above issue)
Q: How do I configure lightbox2 to work with images posted with wysiwyg/image assist/tinymce3
A: This is actually fairly simple, but can be hard to find. Administer -> Site Configuration -> Lightbox2 -> Automatic Image Handling -> Image Node settings
Automatic handler is lightbox, display size is the size you want shown 'in' lightbox.
The part that confused me a little due to the wording is the "Image trigger size". This basically sets which size image will trigger lightbox, selecting only thumbnail will only trigger lightbox on thumbnails, not preview or custom sizes.
I selected all of them in my config, but that will vary based on use.
Comments
Comment #1
TimG1 commentedQ: Where can I add a new Input Format?
A: This is located in Administer > Site Configuration > Input Formats. You can click the Add Input Format link at the top. Then when you go to Administer > Site Configuration > Wysiwyg, your new Input Format should be listed there.
Comment #2
berdirQ: I selected a different language than English and buttons only display "advanced.something" as titles now?
A: You have to download the language file from http://tinymce.moxiecode.net/download_i18n.php
Comment #3
Ether commenteddeleted
Comment #4
sunPlease do not hi-jack this thread with arbitrary support questions. Only follow-up on this issue, if you want to provide another question AND answer for the upcoming handbook page.
If you do have a question, but no answer, please open a separate support request issue, or join #drupal-wysiwyg in IRC. After your question was resolved, add it along with the solution in this issue, using the style that previous posters used.
Thanks.
Comment #5
Anjaro commentedQ: Some tags are missing, like
<strong>and paragraph/line break.A: Then maybe you are using the theme "Admire Gray v1.0", witch has seen to cause these errors.
To get rid of the paragraph/line break problem, ad
in your style.css
For the Strong problem, open the style.css, at line 3 :
*{margin:0; padding:0; text-decoration:none; font-weight:normal; list-style:none;}
and delete the text style infos after:
*{margin:0; padding:0; }
Comment #6
sunRefinement for the last post:
Q: When looking at the source code of the final page, some HTML tags are missing?
A: Most likely, this is because you have the "HTML filter" enabled in your input format and it is configured to not allow the tags you mentioned. Please go to admin/settings/filters and check your input format configuration, especially whether HTML filter is enabled and how it is configured for the input format you associated with an editor.
Q: When looking at the source code of the final page, the expected HTML tags are present, but the formatting is missing?
A: Your theme may not implement styles/formatting for the HTML tags in question, or it overrides the default styles of the browser. Please test whether it works when switching to one of Drupal's stock themes like Garland. If it does, you need to fix your theme.
Comment #7
sunQ: I got it working for Garland, however, when I switch to my custom theme it says "Drupal is not defined" ?
A: Please ensure that $scripts is output before $closure in page.tpl.php of your theme.
Comment #8
p.steiner commentedQ: Since i have updated to the latest development snapshot there is only a white textfield instead of the wysiwyg-inputbox, any ideas why?
A: Try to switch your language settings in your wysiwyg-profile settings.
Comment #9
sunComment #10
progesterone commentedQ: I want to create my custom styles such as "My Heading Style" available in "Styles" or "Font Styles" dropdown list. How?
A: Define CSS styles at Administer >> Site Configuration >> Wysiwyg >> [choose Wysiwyg profile] and EDIT >> CSS >> CSS classes.
Comment #11
netaustin commentedQ: I'm getting a Javascript error "u.indexOf is not a function" when viewing a page that should have TinyMCE on it.
A: Did you recently install the fbconnect module? Facebook Connect's Javascript is known to cause this error.
Comment #12
simenro commentedQ: Why do I get "Object doesn't support this property or method" in IE7, no matter what editor I use with Wysiwyg?
A: The Chatblock module is known to cause this problem. Try disabling it for add/edit pages in its block configuration.
Comment #13
schetle commentedThis is a follow up to comment #11 and #12:
"Q: I'm getting a Javascript error "u.indexOf is not a function" when viewing a page that should have TinyMCE on it."
and also:
"Q: Why do I get "Object doesn't support this property or method" in IE7, no matter what editor I use with Wysiwyg?"
A: Lootz Item Filter also causes both of these issues (even when not being used for the Wysiwyg Input Format).
Comment #14
jeremyheslop commentedFollow up to #7
Q: Why does the "Disable rich-text" is still not display and the editor not show weven after following all install and FAQ instructions?
A: Make sure your page.tpl.php in your theme contains
print $closuresomewhere at the bottom. Without this theme area the module will not work.Comment #15
sunReverting title.
Comment #16
wessex commentedQ: Why does the Image Assist pop-up (when clicking the camera icon) display my site's front page / homepage?
A: You have set up a redirect from index.php to using the Path Redirect module. You may have set this up to prevent index.php showing on your homepage. This kind of redirect is generally not a good idea, and you should delete this redirect.
#385560: Camera button in TinyMCE opens site homepage
Comment #17
antianti commentedQ: Howto to disable the editor in comment form?
Comment #18
sun@antianti: Please read #4. Again. I will unpublish your follow-up now.
Comment #19
sunQ: When trying to insert an image using the "Add image" link/button below the textarea/editor, I'm getting the following JavaScript error:
A: The Image Assist link or button below the editor should be disabled (via Image Assist's settings page) when using Wysiwyg API. Instead, you should enable the "Image assist" plugin in your wysiwyg profile(s). Afterwards, you will see a "camera" icon in the editor toolbar.
Source: #388146: Won't attach with TinyMCE enabled.
Comment #20
DjC4 commentedQ: Why are font changes like color or size in TinyMCE not applied to the final output in the "Filtered HTML" input format with "HTML filter" enabled, even when HTML filter is configured to allow FONT and SPAN tags?
A: In your wysiwyg profile for "Filtered HTML" TinyMCE profile, you will see a setting that reads:
Make sure you disable this setting. By doing so TinyMCE will use font tags when creating the HTML (as opposed to style tags which are blocked by HTML filter).
NOTE: You will have to go back to any posts you made while you had this option checked, clear the formatting and re-do your fonts,size and color under the new font tag setting. Do not let general users have access to "Full HTML" as a quick fix. This makes your site much more vulnerable and lowers the safety of your users data.
Source: #400216: TinyMCE & Filter HTML not allowing font changes.
[edited by sun]
Comment #21
sunNew FAQ is online: http://drupal.org/node/417166