improve the drawing example

This commit is contained in:
Hans Pagel
2021-01-11 15:30:43 +01:00
parent b6e57d8a6a
commit 9ac2179697
4 changed files with 28 additions and 6 deletions

View File

@@ -1,4 +1,13 @@
# Drawing
<demo name="Examples/Drawing" inline />
Did you ever wanted to draw in a text editor? Me neither. Anyway, here is an example how that could work with tiptap. If you want to build something like that, [learn more about node views](/guide/node-views).
:::warning Shared Document
Be nice! The content of this editor is shared with other users from the Internet.
:::
<demo name="Examples/Drawing" :show-source="false" />
Here is another instance of that demo, to illustrate how changes can be synced. Be nice, those changes are synced to all users on this page. Open another tab to test that out!
<demo name="Examples/Drawing" />