JATS XML wysiwyg editor

Thanks for reply @axfelix
About more questions:

  1. How to add support for additional JATS XML tags? Can you point me the example?

  2. What is the mechanism for parsing JATS XML tags? Simple selecting with JQuery? And what is the mechanism of saving HTML to JATS? As I understand, substance is a library for DOM manipulation and texture is its implementation for JATS XML. I am interested, for example, in how it deals with complex text editing tasks, like: <p>some normal text<bold>bold text<italic>at the same time bold and italic text <sup>and even superscipt</sup></italic></bold</p>.