Extension:TinyMCE MW

Note
This extension enables Moxiecode's TinyMCE Editor in mediawiki pages and does not break a majority of Mediawiki wikitext. TinyMCE is not naturally a Wikitext editor. TinyMCE is a javascript WYSIWYG editor. With this extension, you can easily use TinyMCE with Mediawiki and provide users with a toolbar editor they may be more familiar with. This extension was originally developed by Joseph P. Socoloski III. I have been working on making it compatible with the newest version of MediaWiki 1.20alpha. I have not tested it with earlier versions. The previous version still exists on the Extension_talk:TinyMCE_MW page. The old version was tested with TinyMCE 3.3.x. Jwestyp (talk) 20:13, 21 June 2012 (UTC)

Installation
Standard LocalSettings.php configuration example:
 * 1) The download link contains a full repository that contains Moxiecode's TinyMCE Version 3.3.9.
 * 2) Download the package from https://github.com/jwestyp/TinyMCE_MW
 * 3) Place in your extensions directory, i.e. http://www.domain.com/w/extensions/.
 * 4) Include the following lines in your LocalSettings.php file. Make sure paths are correct to your instance.

Limitations and Bug/Error
I think this will work for the heading 1 stuff. Anyone care to poke some holes it it for us all? while (preg_match("|=[A-z0-9\s'.-]+=|is", $tinymcetext, $a)) { $value = implode(",", $a); $value = str_replace("=", "", $value); $r = preg_replace("|=[A-z0-9\s'.-]+=|is", "".$value." ", $a[0]); $tinymcetext = str_replace($a[0], html_entity_decode($r), $tinymcetext); } Thanks -Ryan rahst12 3:08am March 15, 2009
 * 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.
 * Does not support h1 tags because "|=.*?=|is" grabs too much. Just manually use h1 tags.
 * you could easily use this: "|(?<!=)=[^=]+=(?!=)|" to support h1 tags -- Rabbitt 18:26, 18 April 2008 (UTC)
 * 1) ==heading 1==

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 was built and tested on Mediawiki-1.10.0, IE 6. Successfully tested CategoryTree extension for compatibility with new tags.

'''Several users have reported errors installing this extension in MW 1.12 (see section below); at best it is unstable. Until patches or other fixes are posted, it is not recommended for use with MW 1.12 or later.'''

Requested Features

 * Enable Ajax usage.
 * Enable Embedded of Youtube Vids like in FramedVideo (FramedVideo dosn´t work with the editor)

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.