Christian Stocker wrote:
Hiho
Midas is actually "just" an HTML-Editor, at least the demo at
http://mozilla.org/editor/midasdemo/ . And what's even worse, it's HTML 4
:) so, this is not much use for us, _but_ I hope, I can use some parts of
this and use it in BXE. There are several issues, which I have to check
just a short list (maybe someone knows solutions to that):
- iframes only (or make the whole document editable)
i don't think you are restricted to <iframe>.
in the demo they activate designMode with:
document.getElementById('edit').contentWindow
.document.designMode = "on";
where "edit" is the iframe, but also this should work:
document.designMode = "on";
(cannot try it right now... here at home i'm still running
moz 1.2.1).
- mozilla 1.3 only (which means no Mac OS 9 support, since this line is
discontinued now...)
yeah, i read. are there any indipendent ports for latest
mozilla releases? i mean, a sort of chimera for os9?
- do we have control over the dom-tree of that "iframe"?
mmmm, in javascript code of the demo they add manually the
<table> element. with "manually" i mean createElement() / appendChild()
directly in the JS code bypassing midas altogether.
does this answer to your question?
- can we intercept keyevents?
- and certainly more ..
That's about it fot the moment, I hope I find some time tomorrow to
quickly look into midas and will report back about my results.
i dunno who is developing midas @ mozilla.org, but we should get in
contact with someone over there. i'm also wondering if there's some
link between composer module and midas. there *should* be really. the
purpose of the two modules substantially is the same.
later.
PS: why i receive a double email of all your messages
(from you and roger?)
--
bx-editor-dev mailing list
bx-editor-dev@xxxxxxxxxxxxxxxx
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
|