add description to each example

This commit is contained in:
Kevin Jahns
2018-11-27 00:57:15 +01:00
parent 01d0825ae6
commit 9bd199a6e7
4 changed files with 23 additions and 13 deletions

View File

@@ -41,9 +41,12 @@
</style>
</head>
<body>
<p>This example shows how to bind a YXmlFragment type to a <a href="http://prosemirror.net">Prosemirror</a> editor.</p>
<p>The content of this editor is shared with every client who visits this domain.</p>
<div class="code-html">
<div id="editor" style="margin-bottom: 23px"></div>
<div style="display: none" id="content"></div>
<div id="editor" style="margin-bottom: 23px"></div>
<div style="display: none" id="content"></div>
</div>
<script class="code-js" src="./build/prosemirror.js">
import * as Y from 'yjs'