diff -r 45e887f23282 -r 7152ca0a0ce9 includes/clientside/static/dynano.js --- a/includes/clientside/static/dynano.js Mon Feb 16 16:04:54 2009 -0500 +++ b/includes/clientside/static/dynano.js Mon Feb 16 16:17:25 2009 -0500 @@ -36,6 +36,7 @@ this.getContent = DN_mceFetchContent; this.setContent = DN_mceSetContent; this.makeSwitchable = DN_makeSwitchableTA; + this.isMCE = DN_isMCE; } } function __DNObjGetHeight(o) { @@ -154,6 +155,11 @@ return this; } +function DN_isMCE() +{ + return ( this.object.dnIsMCE == 'yes' ); +} + function DN_mceFetchContent() { if ( this.object.name ) @@ -274,24 +280,56 @@ } } -// A basic Wikitext to XHTML converter function DN_WikitextToXHTML(text) { - text = text.replace(/^===[\s]*(.+?)[\s]*===$/g, '