[Greasemonkey] Rich text editor replacement for textarea

Matt Labrum darktempler at gmail.com
Tue Apr 26 10:05:47 EDT 2005


> 
> ---------- Forwarded message ----------
> From: Edward Lee <edilee at gmail.com>
> To: greasemonkey at mozdev.org
> Date: Mon, 25 Apr 2005 15:28:12 -0500
> Subject: Re: [Greasemonkey] Rich text editor replacement for textarea
> Not sure if you already know about some javascript textarea wysiwyg
> editors.. here's a few I found fairly quickly.
> 
> http://www.dynarch.com/project
> > 
> > s/htmlarea/
> > http://www.freetextbox.com/
> > http://www.fckeditor.net/
> > http://tinymce.moxiecode.com/
> > 
> > I was thinking about using something like that in a user script, but
> > what you're looking to implement is automatic cross engine (forum/wiki
> > engine) support. Supposidly most of those editors are fairly easily to
> > config, so the user script would have to detect what kind of page it
> > is and provide the corresponding tags to fill in.
> 
> 

Hmm why use those corss browser engines when firefox already has one built 
in? 
http://www.mozilla.org/editor/midasdemo/
http://www.mozilla.org/editor/midas-spec.html

Thats what I'm using and then im parsing all the html into tags , just the 
problem is that theres quite a few different combo's that "midas" creates so 
its fair hard writing regexp for them (well I am a regexp noob tho...)
the main benifit of using "midas" is the load time (nearly none because its 
built into the browser) and its easy to call and use....



---------- Forwarded message ----------
> From: Julien Couvreur <julien.couvreur at gmail.com>
> To: Greasemonkey at mozdev.org, darktempler at gmail.com
> Date: Mon, 25 Apr 2005 13:16:21 -0700
> Subject: [Greasemonkey] Rich text editor replacement for textarea
> Renamed the thread (used to be "hello").
> CCing Matt Labrum, who mentioned his wysiwyg editor for a forum
> (Mybb), in another thread:
> http://www.mozdev.org/pipermail/greasemonkey/2005-April/001563.html
> 
> Such a generic editor, that would support different modes (for
> different formats: wiki, html,...), is a really good idea.
> Spell checking like http://ponderer.org/gm_spell_check would be a good
> thing to have in there too.
> 
> I'm wondering whether making links of WikiWords could be a problem:
> the url format is rather specific to each wiki.
> 
> Cheers,
> Julien
> 
> 
I'm not too sure here spell checking could be hardish unless you could say 
dont include <img> etc.
I've gotten quite a bit of what "midas" gives me parsed from html -> bbcode 
so it should be simple enough to detect what sort of page its on (forum, 
wiki etc) and change to another parsing function.

sorry but im not too familer with WikiWords are they just urls?
(also cc'ed you back ;) )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/greasemonkey/attachments/20050426/2874cd26/attachment.htm


More information about the Greasemonkey mailing list