TinyMCE Advanced
This plugin adds 16 plugins to TinyMCE, WordPress’ wysiwyg editor: Advanced hr, Advanced Image, Advanced Link, Context Menu, Emotions (Smilies), Full Screen, IESpell, Layer, Media, Nonbreaking, Print, Search and Replace, Style, Table, Visual Characters and XHTML Extras. Together these plugins can add over 40 new buttons to the toolbar, which is now two rows plus one hidden row. Some of the new features added by this plugin are:
- Imports all CSS classes from the main theme’s stylesheet and add them to a drop-down list.
- Font size and font family selection.
- Support for making and editing tables.
- Advanced link and image dialogs that offer a lot of options.
- Search and Replace while editing.
- Support for XHTML specific tags and for (div based) layers.
- Support for adding inline css styles to any element.
Version 3.2: Compatibility with WordPress 2.7 and TinyMCE 3.2, minor bug fixes.
Version 3.1: Compatibility with WordPress 2.6 and TinyMCE 3.1, keeps empty paragrarhs when disabling the removal of P and BR tags, the buttons for MCImageManager and MCFileManager can be arranged (if installed).
Version 3.0.1: Added option to disable the removal of P and BR tags when saving and in the HTML editor (autop), fixed the removal of non-default TinyMCE buttons.
Version 3.0: Compatibility with WordPress 2.5 and TinyMCE 3.0.
Version 2.2: Deactivate/Uninstall options, font size drop-down menu, other small improvements.
Version 2.1: Improved language selection, improved compatibility with WordPress 2.3 and TinyMCE 2.1.1.1, option to override some of the imported css classes and other small improvements and bugfixes.
Translations
The plugin’s interface in only in English, but the TinyMCE plugins include several translations: French, German, Spanish, Italian, Portuguese, Russian, Japanese and Chinese. Additional translations can be downloaded from TinyMCE’s site. Each language file has to be added to the corresponding directory of each of the TinyMCE plugins in tinymce-advanced/mce. For example to add another language file for the “advlink” plugin, the file has to be in tinymce-advanced/mce/advlink/langs. For the “table” plugin, the file has to go to tinymce-advanced/mce/table/langs, etc.
Download
TinyMCE Advanced version 3.2.4 (requires WordPress 2.8)
Previous versions:
All previous versions are available here.
3.2 for WordPress 2.7,
3.1 for WordPress 2.6,
3.0.1 for WordPress 2.5.1,
3.0 for WordPress 2.5,
2.2 for WordPress 2.3.x and 2.2.x
Development version (all bug-fixes and new features would be there first)
TinyMCE Advanced extra languages (for version 2.x only)
Screenshots
Installation (for version 2.0 and newer)
- Download.
- Unzip.
- Upload the “tinymce-advanced” folder to the WordPress’ plugins directory at “wp-content/plugins”.
- Activate the plugin.
- Set your preferences at “Settings -> TinyMCE Advanced” or “Manage -> TinyMCE Advanced” for WordPress 2.6 and older.
- Try your new and improved wysiwyg editor (after clearing your browser’s cache).
Upgrading from version 2.0+
- Deactivate the old version.
- Delete the “tinymce-advanced” folder from WordPress’ plugins directory.
- Follow the above steps to install the new version.
Upgrading from version 1.0 or 1.0.1
This version of TinyMCE Advanced is self-contained. It does not require separate installation of TinyMCE plugins. If you have one of the previous versions (1.0 or 1.0.1) installed, please follow these steps:
- Deactivat the old TinyMCE Advanced.
- Backup the TinyMCE plugins folder, located at wp-includes/js/tinymce/plugins.
- Delete the following TinyMCE plugins that were added when installing the previous version (delete the directories with these names from wp-includes/js/tinymce/plugins):
• advhr
• contextmenu
• print
• visualchars
• advimage
• advlink
• table
• xhtmlxtras
• nonbreaking
• layer
• searchreplace
• fullscreen - After deleting the above plugins, you should have the 7 default plugins that came with WordPress: autosave, directionality, inlinepopups, paste, spellchecker, wordpress, wphelp. Or if you prefer, delete the whole tinymce plugins directory (wp-includes/js/tinymce/plugins) and upload a fresh copy from the WordPress installation package.
- Delete the tinymce-advanced folder from WordPress plugins directory (wp-includes/plugins).
- Follow the installation instructions above to install the new version.
Frequently Asked Questions
- On the admin page: cannot sort the TinyMCE buttons, they are not moving, toolbars are empty, other errors on the page…
This is usually caused by another plugin adding incompatible JavaScript library to all pages instead only where needed. The workaround is to try and find which plugin is doing that, then disable it temporarily until all TinyMCE buttons are arranged.
If that’s not the case try some general Javascript troubleshooting: clear the cache, try another browser, try another computer if possible, delete and re-upload all of the plugin’s files, and finally install Firefox with Firebug or Opera, note the first js error (important) and post it below or search the Internet to see what’s causing it.
- Arranged the buttons and saved them but nothing is changed in the visual editor on the Write page.
Click on the “Uninstall” button (next to the Save button) and then on “Continue”. Then deactivate and activate the plugin again. This will reset all settings stored in the database. Also be sure to force-refresh (with Ctrl/Shift) your browser couple of times on both the plugin’s admin page and on the Write page.
- After installing the plugin, the editor’s background is black/dark or the font is too small or all the text is centered or there are other visual glitches.
This is due to TinyMCE importing the styles from your theme and trying to make the editor look as close to your site as possible. However that doesn’t work well in some themes. To fix it uncheck the “import the css classes” option.
- Some buttons are missing from TinyMCE’s menus, or no toolbar(s) appear at all, or TinyMCE behaves strange after installing the plugin.
Almost all of these problems are caused by the browser’s cache, or network cache. Clear your browser’s cache, quit the browser, then start it and try again. If the problem persists, try reloading the page while holding down Ctrl (in IE) or Shift (in Firefox) to make the browser reload the page from the server. This can also be caused by a network cache somewhere between you and your web host. Just wait for a few hours for it to expire.
- I don’t see any styles being imported in the “Styles” drop-down menu.
These styles (just the classes) are imported from your current theme’s style.css file. However some themes use “@import” links in the style.css to load the actual css file(s). Tiny doesn’t follow these links for now. To make the classes appear, add their names to tadv-tinymce.css file in the plugin’s folder. You don’t need to copy the whole classes, just add the names, like that:
.my_class{}.my_other_class{}
- I’ve just installed this plugin, but it doesn’t do anything.
Log out of WordPress, clear your browser’s cache, quit and restart the browser and try again. If that does not work, there may be a caching proxy or network cache somewhere between you and your host. You may need to wait for a few hours until this cache expires.
- I just added my css classes to tinymce.css but they are still missing from the editor.
Click on “Save Changes” on the admin page of the plugin, even if you did not change any buttons. This will force TinyMCE to reload the css files.
- When I add “Smilies”, they do not show in the editor.
The “Emotions” button in TinyMCE adds the codes for the smilies. The actual images are added by WordPress when viewing the Post/Page. Make sure the checkbox “Convert emoticons to graphics on display” in “Options -> Writing” is checked.
- The plugin doesn’t add any buttons and the “Visual” and “HTML” tabs are missing.
Make sure the “Disable the visual editor when writing” checkbox under “Users->Your Profile” is unchecked.
Your a star, thanks for this plugin the standard editor is a pain at the best of times
Cheers
I’m the author of Formidable, but am having javascript conflicts. I’m using the WordPress rich text editor in my plugin, but with different ids than “content”. The error is:
Error: c is null
Source File: …plugins/tinymce-advanced/js/tadv_replace.js?ver=20080425
Line: 22
I changed line 22 to: if ( c && c.value == ‘<br />\n’ ) c.value = ”;
Is there any way you could add this fix or one like it to your plugin?
Hi, we’re experiencing the same problem as Chris Howard. Exactly the same problem. However, it is not only with the link-button that we can see the error but also when pushing the image-button.
It really is a strange bug. Have someone come across the same problem and have a solution?
We will post one if found.
Excuse my “newbie-ness” but I’m having a problem my web designer doesn’t seem to know how to fix. My new website is using TinyMCE Advanced version 3.2.7. When I edit a post that contains pictures, then “update,” the program inserts a new “.” Thus the photos and copy keep getting pushed lower on the page every time I save any change. I had someone look into it. He found references in one of the forums to a an issue with this but we couldn’t find the solution. For now, the workaround seems to be to manually delete the extra spacers on the HTML page every time I edit anything, but this is really tedious. Can anyone tell me how to fix this? Thank you.
Hi, great plugin. Am experiencing a small and unusual problem.
In the Link editor, instead of titles for each field etc, it shows a code. eg #advlink_dig.url or #advlink_dig.title or #advlink_dig.popup etc
I’ve tried this on different servers and different browsers and different computers, but still have the same problem.
I am running WP 2.9.2
Thanks
@Fernando: “So, the issue is easily reproduced on trying to “Save as Draft” or “Publish” a post that its HTML contains the word “cd”. The minimal required HTML do reproduce the issue is “cd”. Trying to save or publish the post will result on HTTP 501 error “Method not implemented”.
I’m still using the plug-in, but when this error occur I need to disable it to be able to save or publish the post. I hope you can figure this issue out and provide us with some update.”
Not a problem for me! Saves and publishes as normal.
@Fernando: Could the problem be with your template?
First of all I’d like to say this plug-in is very useful and helped me a lot. Congratulations for your great work.
I’m just sending you this e-mail to let you know about an issue I’m having with it. Probably someone else is having this issue as well when trying this plug for the first time. That issue can make this person to give up of using this great plug-in.
So, the issue is easily reproduced on trying to “Save as Draft” or “Publish” a post that its HTML contains the word “cd”. The minimal required HTML do reproduce the issue is “cd”. Trying to save or publish the post will result on HTTP 501 error “Method not implemented”.
I’m still using the plug-in, but when this error occur I need to disable it to be able to save or publish the post. I hope you can figure this issue out and provide us with some update.
Regards.
I just have a quick question concerning WordPress quicktags and TinyMCE Advanced.
I need to have paragraph tags enabled for some advanced CSS styling. Unfortunately this leads to dangling paragraph tags around the <!–more–> and <!–nextpage–> WordPress tags and thus to invalid html code for those pages.
Is there anything I can do to fix this problem? Apparently that was a bug in the normal visual editor of WordPress, too, but it’s supposed to have been fixed in WordPress 2.9 and above … so I am hoping that it can be fixed for TinyMCE Advanced, too.
I’d be grateful for any tips, since I’d prefer having valid html on my site …
Apart from that: Thank you for a really great plugin!
“( p ) ( br class=”spacer_” / ) ( /p )” is a very problem…
*Replaced with ( )
So, is there a fix to the “( p ) ( br class=”spacer_” / ) ( /p )” bug?
*Replaced with ( )