docs: replace embeds with just the URL

This commit is contained in:
Hans Pagel
2021-10-18 18:01:47 +02:00
parent 43a944b897
commit 53f815a53c
79 changed files with 96 additions and 95 deletions

View File

@@ -12,16 +12,16 @@ Keep in mind that those are just examples to get you started, not officially sup
## Drag handles
Drag handles arent that easy to add. We are still on the lookout whats the best way to add them. Official support will come at some point, but theres no timeline yet.
<tiptap-demo name="GuideNodeViews/DragHandle"></tiptap-demo>
https://embed.tiptap.dev/preview/GuideNodeViews/DragHandle
## Table of contents
This one loops through the editor content, gives all headings an ID and renders a Table of Contents with Vue.
<tiptap-demo name="GuideNodeViews/TableOfContents"></tiptap-demo>
https://embed.tiptap.dev/preview/GuideNodeViews/TableOfContents
## Drawing in the editor
The drawing example shows a SVG that enables you to draw inside the editor.
<tiptap-demo name="Examples/Drawing"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Drawing
Its not working very well with the Collaboration extension. Its sending all data on every change, which can get pretty huge with Y.js. If you plan to use those two in combination, you need to improve it or your WebSocket backend will melt.