Skip to main content

All Posts

prosemirror-dev-tools
Tools TypeScript
<p> </a><br /> <a rel="nofollow noopener" target="_blank" href="http://commitizen.github.io/cz-cli/"></p> <p> </a> </p> <h2 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-table-of-content" class="anchor" aria-hidden="true" href="#table-of-content"></a>Table of Content </h2> <ul dir="auto"> <li> <a rel="nofollow noopener" target="_blank" href="#table-of-content">Table of Content</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#quick-start">Quick Start</a></p> <ul dir="auto"> <li> <a rel="nofollow noopener" target="_blank" href="#npm-way">NPM Way</a> </li> </ul> </li> <li> <a rel="nofollow noopener" target="_blank" href="#features">Features</a></p> <ul dir="auto"> <li> <a rel="nofollow noopener" target="_blank" href="#state">State</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#history">History</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#plugins">Plugins</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#schema">Schema</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#structure">Structure</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#snapshots">Snapshots</a> </li> </ul> </li> <li> <a rel="nofollow noopener" target="_blank" href="#demo">Demo</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#contributing">Contributing</a> </li> <li> <a rel="nofollow noopener" target="_blank" href="#license">License</a> </li> </ul> <h2 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-quick-start" class="anchor" aria-hidden="true" href="#quick-start"></a>Quick Start </h2> <h3 dir="auto"> <a rel="nofollow noopener" target="_blank" id="user-content-npm-way" class="anchor" aria-hidden="true" href="#npm-way"></a>NPM Way </h3> <p> Install <code>prosemirror-dev-tools</code> package from npm: </p> <pre>npm install --save-dev prosemirror-dev-tools</pre> <p> Wrap <code>EditorView</code> instance in applyDevTools method: </p> <pre>import applyDevTools from "prosemirror-dev-tools"; const view = new EditorView /…/();