Kênh 360 Công Nghệ Kênh 360 Công Nghệ

Trang chủ - Tin học ứng dụng - Thủ thuật blog - TinyMCE Advanced cho blog wordpress

TinyMCE Advanced cho blog wordpress

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.

New in 3.0.1: Added option to disable the removal of P and BR tags when saving and in the HTML editor (autop), added two more buttons to the HTML editor: autop and undo, fixed the removal of non-default TinyMCE buttons.

New in 3.0: Compatibility with WordPress 2.5 and TinyMCE 3.0.

New in 2.2: Deactivate/Uninstall options, font size drop-down menu, other small improvements.

New in 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. Another 36 translations for version 2.2 are available as a separate download (see the link below). For version 3 additional translations can be downloaded from TinyMCE’s site.

Download

TinyMCE Advanced version 3.2 (requires WordPress 2.7)

Previous versions:

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 “Manage -> TinyMCE Advanced”.
  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.

  • After installing the plugin, the editor’s background is black/dark or the font is too small…

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/Opera) 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.

Share This


Tin liên quan:
Tin mới hơn:
Tin cũ hơn:

 

Kênh 360 công nghệ

  • Nổi bật
  • Tin mới
  • Game mới
  • PrestaShop Guide
  • PrestaShop

Có thể bạn quan tâm

English French German Japanese Korean