YUI Editor in Movabletype v0.9.9

Fair few little tweaks here and a change of thinking around the config file.

Major thanks to Dav Glass (the author of the Editor) for helping me out by pointing out the blindingly obvious and not getting mad at my idiocy!

Download YUI Rich Text Editor for Movabletype 4 v0.9.9

Version Notes:
0.9.9
  • Added 'ConfigYUIBase' to config.js so that you can host the YUI build files locally (this will negate the need for different versions of my plugin)
  • Moved to dynamic loading of required JS and CSS files to enable above, stopped short of the YUI loader for performance reasons
  • Added a function to config.js with a reference to the editor object that is called after load so that your own customisations can be added
  • Added full screen view
  • Fixed HTML editor box showing wrong size in FF (still an issue in IE)
  • Added insert file option that uses MT's asset dialog (if you have ConfigUseMTAssets set true)
  • Rearranged new buttons on menu
  • Fixed code to adjust containing DIV that was wrong, but somehow worked.  Thanks to Dav.
  • Various tweaks and bits to existing code/functions and additional comments

9 Comments

Thanks Richard, I love this rich text editor. Feeds for new versions is a great idea and keeps everyone up to date with the latest bug fixes. I had a problem getting this to show up on 4.1. It only worked after I upgraded to 4.2. Not sure why.

Same problem here. YUI took over MT4.1's Rich Text Editor, but not so with this release. Selecting RTE in 4.1 gives me the regular MT4.1 RTE. Saving the entry returns me to the YUI editor. Happens in Safari and Firefox on the Mac.

Got one error and a bunch of warnings in the FF error console: an unrecognized command line flag -foreground in nsBrowserContentHandler on line 661. The warnings deal with unknown properties and errors in parsing value for property 'filter' on line 188.
The steps are easy: just create a new entry and change the default text mode from none or convert breaks to RTE.

Ok, in that case I shall consider it a proper feature request :)

I'll put in some code to hide the button in Safari and keep an eye out for an official YUI implementation of tables.

Thanks for your feedback.

Richard, I discovered that when I set the regular MT default Entry settings to RTE YUI shows up just fine. The errors start when you select None or Convert Line Breaks as default text formatting and switch to YUI in a newly created Entry.

Leave a comment

Recent Entries

  • YUI Editor in Movabletype v1.3

    A new version of the YUI Rich Text Editor in MovableType is available, this version adds a new button to your toolbar that will search...

  • Adding YUI RTE in MoveableType Community Solution

    On certain sites, you may want to allow your users a little more freedom with their comments, or if you're using the community templates in...

  • YouTube lightbox

    For a while now I have been toying with making my own JavaScript libraries built around the YUI libraries, as there were things out there...

  • New Host

    After the balls up the other day, I've been rushing to get the site transferred over to a new host and sort out the templates,...

  • I've been a fool!

    Made a classic, school-boy error last night...Was moving a movabletype installation from 2 recently decommissioned dedicated servers to a cloud hosting environment and noticed that...