[Mozile] Version 0.7 and configuration
James A. Overton
james at overton.ca
Tue Feb 7 08:20:00 EST 2006
Hi Sebastian,
There aren't many save configuration options yet for 0.7, but
they're easy to add. I'll put that to my To Do list for the next
release, which should happen this week. Are there other missing
configuration options that you need?
Adding a "save" link to the page is easy. Try <a href="javascript:
mozile.save()">Save</a>.
The easiest way to make a custom link dialog is to edit
XHTMLBasic.js at about line 160 where the link command is being
defined. You could also overwrite that command by doing something like
mozile.commandList["Mozile-XHTMLBasic-Link"].createNode = myFunction();
but it could be tricky to arrange for your overwrite to come at the
right time.
The automatic wiki-link feature is a good idea. My best thought for
an implementation of it is to listen for the keys "]]" to be pressed,
and then look backward from the current selection to try and find non-
white-space preceded by "[[". If found, create a link. Is that the
right first step for what you want?
James
More information about the Mozile
mailing list