first commit of midas editor prototype
Christian Stocker <chregu-zfZwwz/hh/[email protected]> 09 Mar 2003 20:01:16 +0100
| Newsgroups | gmane.comp.cms.oscom.twingle.devel |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
Hi
I just commited the first prototype of the midas editor thingie. It
doesn' do much right now, but you can now edit the oscom site (not many
formatting option 'though).
I don't know, if we need the "Source" Tab (another tab...), but if we
want it, we need a solution to keep the source-data (the html of the
page in this case) in sync between the 2 tabs. Does anyone know an event
which gets fired, when I switch between different tabs (the contrary of
oncommand..., but oncommand could work as well).
There are others, not so nice things in the code. The AnonymousNodes
stuff can get quite nasty and needs some helper functions (it really
can't get much worse than this:
document.getAnonymousNodes(this)[0].parentNode.parentNode.parentNode.getElementsByAttribute('name','sourceedit')[0]
... )
chregu
--
christian stocker | bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu-zfZwwz/hh/[email protected] | gnupg-keyid 0x5CE1DECB