I'd like to add support for a custom schema (Forrest Document 2.0, http://forrest.apache.org/dtdx/document-v20.dtdx.html). After looking at the eLML extension, this seems more complicated than I had expected. For instance, the JavaScript to insert paragraphs (eLessonParagraphCommand.js) is 238 lines long.
Is this amount of code necessary for any custom schema, or is there an easier approach? At the first stage I don't need any custom widgets, but manipulating the document structure via the context menu should be supported, and preferrably adding new paragraphs and list items using the return key.
Thanks a lot in advance for any hints!
Best regards,
Andreas
Custom XML schemas supported
For the record:
Custom XML formats can be edited without any changes or additions to the Firedocs editor. The current version doesn't seem to support documents without a namespace, though (which IMO should be avoided anyway).
-- Andreas