TinyMCE Advanced

TinyMCE Advanced 2 beta - admin pageThis 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:

  1. Imports all CSS classes from the main theme’s stylesheet and add them to a drop-down list.
  2. Font size and font family selection.
  3. Support for making and editing tables.
  4. Advanced link and image dialogs that offer a lot of options.
  5. Search and Replace while editing.
  6. Support for XHTML specific tags and for (div based) layers.
  7. 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

Standard toolbarExtended toolbarFullscreen modeThe inline styles dialog box

Installation (for version 2.0 and newer)

  1. Download.
  2. Unzip.
  3. Upload the “tinymce-advanced” folder to the WordPress’ plugins directory at “wp-content/plugins”.
  4. Activate the plugin.
  5. Set your preferences at “Settings -> TinyMCE Advanced” or “Manage -> TinyMCE Advanced” for WordPress 2.6 and older.
  6. Try your new and improved wysiwyg editor (after clearing your browser’s cache).

Upgrading from version 2.0+

  1. Deactivate the old version.
  2. Delete the “tinymce-advanced” folder from WordPress’ plugins directory.
  3. 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:

  1. Deactivat the old TinyMCE Advanced.
  2. Backup the TinyMCE plugins folder, located at wp-includes/js/tinymce/plugins.
  3. 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
  4. 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.
  5. Delete the tinymce-advanced folder from WordPress plugins directory (wp-includes/plugins).
  6. 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.

993 Comments

  • #993 by Agnes August 30, 2010 at: 11:58 pm

    Hello
    This plugin is just great!
    One suggestion: would it be possible to integrate a function to respect some HTML code?
    I have difficulties with some I must put inside some posts; I have tried comboining with php Exec plugin and rawhtml plugins, but then it becomes impossible to use the editor. The editor and ability to do this would be jsut perfect combination.
    Thanks for all

  • #992 by Ways To Success dot Net August 30, 2010 at: 6:43 am

    Yes I installed this plug-in in my site which running wordpress 3.0. It’s really great… Thanks Laptop Tips.

  • #991 by Marko August 30, 2010 at: 1:56 am

    Hi!

    I have a problem with blank rows or tag i guess.
    Sometimes it creates a blank row when i press Enter, but sometimes it dosn’t. I tried in Firefox and Chrome but no luck. It just dosn’t save the blank row. I also tried to insert blank spaces in rows.
    I have the same problem on two of my sites so I think there is a bug or a configuration in plugin and not a bug on my site.

    For example on this page It does the blank row after the bold row, but not if there is no bold row I cant create a blank row after it:
    http://www.kaboomunlimited.com/mamamia/splosni-pogoji/

    Do you know what I mean? Does anyone have the same problem?

    Regards, Marko

  • #990 by CDForkey August 28, 2010 at: 6:38 pm

    Where in your code can I add a window focus requirement, so that links that target the same window from the original window will come to the front?

  • #989 by Marc Martinez August 28, 2010 at: 3:18 pm

    I noticed after installing tiny MCE that my WP Dashboard looked different than before the plugin installation.The 2 column dashboard view is no longer functional and it seems the draft/ publish save buttons that were on the right column are nor longer visible, have to scroll all the way to the bootom to save a page. Can you please help?

  • #988 by Peter Lurie August 28, 2010 at: 2:57 pm

    Hi!
    I am a great fan of TinyMCE Advanced. However, am having problems with a new install of WP 3.0.1. The plugin does not display at all. No cache emptying helps, and I have tried everything. It doesn’t work on this specific installation at all. The built in WYSIWYG insterface works OK< but I am missing the Table features that TinyMCE Advanced offers.
    Any ideas?
    Thanks
    Peter

  • #987 by Ovidiu August 26, 2010 at: 4:26 pm

    hi there.
    I wanted to let you know about a bug in your plugin. If enabled it messes up the Global Options page of wp 3.0.1 with multi-site enabled. It filters option fields that are not meant to be filtered. Here would be a screen shot: http://www.screencast.com/users/ovizii/folders/Jing/media/201250cb-bec2-491c-9af9-10a57f9c5c75 that text should not be formatted but it seems your plugin adds and tags there as well…

  • #986 by jack August 25, 2010 at: 6:35 am

    Hi,

    Thanks so much for this plugin. I’m trying to add an rtl button. I found instructions for tinymce that if I go into the plugin configuration, you’ll see an option called Custom Parameters. This allows you to add additional parameters that aren’t currently being utilized by an instance of TinyMCE. Add the following and save the config:

    CODE:
    directionality: “rtl”,
    theme_advanced_toolbar_align : “right”

    Could you point out where I might add this code in the plugin?

    Thanks!

  • #985 by new site August 24, 2010 at: 7:03 pm

    Hi I just installed tiny mce advanced and the third line is missing from the panel (the bottom row which includes the buttons – add row beneath etc.) I’ve done as you suggested, reloaded, cleared cache all of the above but the bottom row is still not installed ….

    any ideas?
    ps thanks for making it

  • #984 by Agnes August 19, 2010 at: 11:37 pm

    Sorry, I relaise my former post is not understandable….
    I have ticked
    “stop removing line breaks and paragraph marks” in plugins admin
    Yes, the paragraph now are remaining, but double line breaks still are stripped.
    I wonder if it is because I have in my e-commerce template
    <?php echo wpautop(wpsc_the_product_description())."";
    this remainign wpautoup?
    ARG… Annoying…