Take a look at these:
Both are open source projects.
But those are WYSIWYG editors, exactly what I wasn't looking for.# Ian Bicking
Yes, it does help to read the entire entry before posting ;)
For doing local twiki work, I've pushed folks towards mozex:
Lets them run their own editor to edit data in a textarea field.# Gary Godfrey
dont forget the ability to be able to use the TAB key, very annoying
What about syntax highlighting, which is not possible in textarea?
I know I'd appreciate it.
That would make using ReST or Markdown a little more tolerable in a text area.
In the end if I have to do a lot of editing, I really want to use a real editor, ideally my editor of choice. I used to use mozex on older versions of Firefox; your post inspired me to go looking for a working solution. Someone has updated mozex to run on newer versions of Firefox: https://nic-nac-project.de/~kaosmos/mozex107-en.html
here's the original parameter docs: http://mozex.mozdev.org/arguments.html
In Extensions, Preferences, set up vim:
/usr/X11R6/bin/urxvtc -e /usr/local/bin/vim %t
(sub whatever you use as a terminal for the first chunk of the command line)
Click on the text area field when you've saved and closed the temp file et voila. Hey, I'm soaking in it right now!
A couple minor points
- Mozilla supports Find (though not replace) in TextArea, though Firefox doesn't.
- you can change the font/size of the TextArea via HTML tag, though obviously that's just a global improvement rather than one that people can customize.
Try this one:
Here's another one that uses some of TinyMCE's code: http://cdolivet.net/editarea/test.html