4 ms·
This looks really interesting and potentially very useful. I skimmed the docs and took a look at the source code. This is no small project. I could not find a h
by jarpineh 13y ago
This looks really interesting and potentially very useful. I skimmed the docs and took a look at the source code. This is no small project. I could not find a high level doc about how it works, though. There seems to be contenteditable element as a user events (writing) receptacle from which it generates appropriate DOM manipulation. Since ODF is a complex format, the XML is complex too, so probably editing elements directly won't be feasible.
There is even a desktop version. I'd really like to try if this could work as a LightTable plugin. Code looks like straight forward JavaScript and it's build with Google Closure, like LT is. I'll how to dive through the code at some point and see how hard it could be to support different XML formats, like DocBook.
- mark_l_watson 13y ago+1 nice idea!
- oever 13y agoSupport for general XML is something that is very feasible. There is already an experimental branch (xml) on github for this. This branch has XML Schema support. XML Schemas can be read and the UI adapts to the schema. With CSS the document can be made to look nice for the user. If you want to work towards this, please drop by on the mailing list or irc channel. It's high time for a good FOSS XML editor.
- jarpineh 13y agoI agree, there's been too much a wait already for a good XML document editor, not a mere markup tool. It does not look like bigger players like Google and Facebook have interest in building components for this. Hopefully with LT, Brackets, Mondrian and now WebODF the necessary pieces are finally coming together. Good to know you have already started the more generic XML work. I'll take a look and see if I can find something to dig in.