/sharedb-jsoneditor

Primary LanguageTypeScriptMIT LicenseMIT

sharedb-jsoneditor

Warning: this library is very hacky and preliminary. You should not depend on it.

Image of two synchronized JSONEditor instances

This library provides a frontend for visualizing ShareDB documents using JSONEditor.

Installing:

npm i --save sharedb-jsoneditor
<div id="jsoneditor2" style="width: 400px; height: 400px;"></div>
const jsonEditor = new ShareDBJSONEditor(doc, document.getElementById('jsoneditor'), []);