Just before applying TinyMCE on the flyThis post is just to test out a GreaseMonkey script I wrote that allows me to have TinyMCE show up like magic on any text area on any website.  The cool thing about the way it works is that I can parse the XHTML that TinyMCE outputs through XSLT sheets before submitting it to the server.  In this case, I’m passing it through and converting it to Textile markup with the XSLT sheet, but it could just as easily have been markdown, or some random wiki markup …

Of course, it’s kind-of redundant in WordPress, since I could just send it through in XHTML, but I’m trying to test the round-tripping, which at this point is pathetic because when I send textile, and then come back to "edit" ... the text is in Textile format, which I would need to convert to XHTML before feeding it to TinyMCE … so for this to really work for editing, I have to have a way to convert things to the formats I would support.

After applying TinyMCEThe simplest thing seems to be to set up a webservice using the original code in PHP or Perl for each of the markup languages, especially since the GreaseMonkey script has to be hosted somewhere on the web anyway. The down side is: I can’t exactly have everyone in the world using my server to download TinyMCE and parse their markup languages. :(

5 Responses to “GreaseMonkey TinyMCE Editor”

  • fengit says:

    good

  • Leonya says:

    Did you get this to work. I’ve been trying to write this same thing, but am not having luck. If you have this working, could you please send me your script.
    Thanks!

  • Kristian says:

    Just what i am lookin for.
    Maybe you could just let us have it, without the links to your server.
    :-)

  • Mark M says:

    I am also looking for this…. would you mind sending it to me, minus, of course, your server link?

  • Jaykul says:

    Sorry this has stalled guys … It’s really not working yet, and I got somewhat distracted by school. It’s on my list for trying to finish over the summer.