simonsoft / authormodel

Authormodel is an abstraction between your average WYSI-whatever editor and your storage. It supports Structured Documentation.
https://www.npmjs.com/package/authormodel
0 stars 1 forks source link

Define content encoding rules #6

Open solsson opened 9 years ago

solsson commented 9 years ago

Need a reliable and unit tested solution for https://github.com/simonsoft/webui/issues/205. Must be safe to persist. This should be an API call available to uniteditors. Basically it takes a DOM node and produces a string (and possibly sets that string as a specific unit attribute).

solsson commented 9 years ago

Authormodel already has an XML lib for the serialization. Also it might be interesting to use something like https://github.com/solsson/innerXHTML.