synthetic-dom

Synthetic HTML DOM for use with parsing within React-RTE

Usage no npm install needed!

<script type="module">
  import syntheticDom from 'https://cdn.skypack.dev/synthetic-dom';
</script>

README

Synthetic HTML DOM for use with parsing within React-RTE

This package allows us to create an in-memory document object model similar to the browser's DOM but using pure JS data structures. It is useful as a target for parsers (such as draft-js-import-markdown).

License

This software is ISC Licensed.