WordPress and TinyMCE
TinyMCE (platform independent web based Javascript HTML WYSIWYG editor) is developed by Moxiecode Systems AB.
Update wp-includes/js/tinymce with files from tinymce/jscripts/tiny_mce
3d party TinyMCE plugins can be downloaded from SourceForge and should be placed in wp-includes/js/tinymce/plugins
To activate plugins and/or tune TinyMCE edit wp-includes/js/tinymce/tiny_mce_config.php (do not forget to make a backup copy first).
To add/remove plugins change $plugins variable. By default (wp2.6) it's set to:
If you use full version of TinyMCE (e.g. downloaded from Moxiecode) instead of the bundled one, this string may look like (see Plugins reference):
To add buttons to 4 available rows modify corresponding variables $mce_buttons, $mce_buttons_2, $mce_buttons_3 and $mce_buttons_4 (see Control reference). For example:
$mce_buttons_2 = apply_filters('mce_buttons_2', array('formatselect', 'code', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'media', 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help', 'advhr', 'emotions', 'insertdate', 'inserttime', 'preview' ));
$mce_buttons_3 = apply_filters('mce_buttons_3', array('fontselect', 'fontsizeselect', 'fullpage'));
The result can be viewed in a browser:
http://www.alekz.net/wp/wp-includes/js/tinymce/tiny_mce_config.php
Note: AdBlock Plus Firefox extension blocks the contents of the TinyMCE popups (you will see empty pop-up windows). You might consider replacing ABP with Adblock or whitelisting your whole site.
Related posts:
- WordPress 2.5 WordPress 2.5 has been released! Installed! And? Does it work?...
- How to replace the WP comment form with a WYSIWYG editor You can replace the standard WordPress comment form with a...
- WordPress upgrade WordPress has been successfully upgraded to the latest version –...
- Why does x^0 equal 1? Since basic school we know, that , but only recently...
One Response to “WordPress and TinyMCE”
Blog updates

[...] TinyMCE to v3.0.5 did not help (see this post on how to do that). Neither did the replacing inline pop-ups with real pop-up windows. The content [...]
Pingback :: April 1, 2008 at 03:08 :: Quote