Extension:TinyMCE MW

What can this extension do?
If you already have pages written in Mediawiki wikitext, this extension enables Moxiecode's TinyMCE and does not break Mediawiki wikitext. Also, TinyMCE_MW has a new 'msword' configuration theme. msword follows the MS Office 2003 toolbar layout. Call TinyMCE's,   and a built-in   theme from LocalSettings.php. TinyMCE_MW 0.2.0 was built and tested on Mediawiki-1.10.0, IE 6. Tested CategoryTree extension for compatibility with new tags and it worked.

Usage
TinyMCE is not naturally a Wikitext editor. With this extension, you can easily use TinyMCE with Mediawiki and provide users with a toolbar editor they may be more familiar with.

Installation
1) Download TinyMCE and unzip into your MediaWiki extensions path (the result should look like ..\Yourwiki\extensions\tinymce\...) 2) Copy and create TinyMCE_MW.php in your MediaWiki extensions path (..\Yourwiki\extensions) 3) Add the following lines to LocalSettings.php: $wgDefaultUserOptions ['showtoolbar'] = 0; #new users get this default or modify DefaultSetting.php require_once("$IP/extensions/TinyMCE_MW.php"); $wgTinymceTheme = "msword";                 #"simple", "advanced", "msword", else none $wgExt_valid_elements = "data[table|template],big";
 * 1) TinyMCE_MW.php: Easily implement Moxiecode's TinyMCE into MediaWiki

Code
Copy and paste from TinyMCE_MW.php

Bugs and Limitations

 * Does not support Wikitext Bullet list.
 * Does not support Wikitext Numbered list.
 * Does not support Wikitext Redirect to another article.
 * Does not support Wikitext Tables.

(Please keep in mind that TinyMCE does handle these features)

Requested Features

 * Enable Ajax usage.

Changing TinyMCE Font and Font Size
After hours of trial and error and googling, I am deciding to share some very helpful information. NOTE:To change the default font and size for TinyMCE, add these two lines to your theme's editor_content.css body{} section: font-family: Arial; font-size: 14px; NOTE:To decrease the space between lines after a carriage return place this line to your theme's editor_content.css: p {margin: 0; padding: 0;}

NOTE: Delete all of your cache (temporary internet files), then close your browser. Then re-open your browser.

Conclusion
Moxiecode's TinyMCE is a very impressive WYSIWYG editor. I looked all over for a MediaWiki extention or any information. Hopefully, this works for you and is helpfull. --JoeSox 03:41, 24 June 2007 (UTC)