Script Summary: Edit (X)HTML comments comfortably on Slashdot
A really nice and powerful replacement for the Slashdot comment <textarea>.
Attention: This script probably won’t be maintained any more.
I have abandoned this script. But it should still work and be really useful. It is really clean, nicely modularized code, and so should be easy to hack and adapt to your needs. So hack away, do whatever you want, release your own version! Have fun with it! :)
Features:
- A very intuitive keyboard-controlled interface.
- Support for easy input of XHTML tags.
- Automatic replacement of HTML entities that Slashdot does not accept*.
- A preview function right in the editor.
- Configurable width trough the Greasemonkey menu.
- And a very cool design. :)
Planned features and known problems:
- Preview button is F8 (try it), not F6. Sorry. Fix is coming.
- Separate the Greasemonkey- and the Slashdot part to sub-prototypes, inheriting on the main prototype.
- Ability to enter the opening and closing tag separately, when not in selection mode. → Tag stack?
- VI style mode. (ESC, then commands and mode selections without modifiers [e.g. Ctrl])
- Introductory help (tutorial) and assistance on the way to becoming a pro. (If even needed.)
- Prettier context menu. (“fractal alternation”, aligned columns, menu items for styles shown in that style, also show icons)
- Simple code highlighting.
- Settings mode right in the UI, (Separate panel, just like the preview. Completely keyboard-controllable. Use context menu for commands.)
- “Inactive mode”, in which keyboard shortcuts are not caught.
- Finish the preview mode. (\n → <br/>. 1:1 style takeover from Slashdot. Warning: Slashdot has different modes.)
- Auto-quote of selected text when replying.
- Also should work on Slashdot’s own preview page!
- Delay UTF8 entity replacement until form submission. (Except for < and > in HTML mode.) (Solves: Entities are not replaced when pasting text.)
- Quickly create links directly to articles on Wikipedia and other configurable sites.
- Attachable to any <textarea> on any site.
- Integration of subject, name, e-mail and website fields, if available.
- Support for (the pointless) BBCode.
- Support for (the retarded) Wiki syntax.
- Configurable keyboard shortcuts, so they work with every setup.
- Your wishes!
Releases:
- 1.1.1 (2009-11-17)
- Two small typos fixed.
- 1.1 (2009-11-17)
- Preview function (alpha state).
- Slashdot mod.
- More commands.
- 1.0 (2009-11-16)
- The first usable and tested version.
* If you want to add others, just ask me. Or do it yourself. But if you ask, I can incorporate it here. :)



