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

@@ -2,4 +2,4 @@
This demo has more than 200,000 words, check the performance yourself.
<tiptap-demo name="Examples/Book"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Book

View File

@@ -18,7 +18,7 @@ It connects all clients to a WebSocket server and merges changes to the document
Be nice! The content of this editor is shared with other users from the Internet.
:::
<tiptap-demo name="Examples/CollaborativeEditing"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/CollaborativeEditing
## Backend
In case youre wondering what kind of sorcery you need on the server to achieve this, here is the whole backend code for the demo:

View File

@@ -1,3 +1,3 @@
# Custom Document
<tiptap-demo name="Examples/CustomDocument"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/CustomDocument

View File

@@ -1,4 +1,4 @@
# Default text editor
Did we mention that you have full control over the rendering of the editor? Here is a barebones example without any styling, but packed with a whole set of common extensions.
<tiptap-demo name="Examples/Default"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Default

View File

@@ -1,4 +1,4 @@
# Drawing
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).
<tiptap-demo name="Examples/Drawing"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Drawing

View File

@@ -1,3 +1,3 @@
# Formatting
<tiptap-demo name="Examples/Formatting"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Formatting

View File

@@ -8,4 +8,4 @@ Though thousands of developers use tiptap every day, its still not our full-t
[Become a sponsor on GitHub →](https://github.com/sponsors/ueberdosis)
:::
<tiptap-demo name="Examples/Images"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Images

View File

@@ -2,6 +2,6 @@
Thanks to [node views](/guide/node-views) you can add interactivity to your nodes. If you can write it in JavaScript, you can add it to the editor.
<tiptap-demo name="GuideNodeViews/VueComponent"></tiptap-demo>
https://embed.tiptap.dev/preview/GuideNodeViews/VueComponent
<tiptap-demo name="GuideNodeViews/VueComponentContent"></tiptap-demo>
https://embed.tiptap.dev/preview/GuideNodeViews/VueComponentContent

View File

@@ -1,3 +1,3 @@
# Markdown shortcuts
<tiptap-demo name="Examples/MarkdownShortcuts"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/MarkdownShortcuts

View File

@@ -1,3 +1,3 @@
# Menus
<tiptap-demo name="Examples/Menus"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Menus

View File

@@ -1,3 +1,4 @@
# Minimal setup
<tiptap-demo name="Examples/Minimal"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Minimal

View File

@@ -1,3 +1,3 @@
# A clever editor
<tiptap-demo name="Examples/Savvy"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Savvy

View File

@@ -1,3 +1,3 @@
# Mentions
<tiptap-demo name="Examples/Community"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Community

View File

@@ -1,3 +1,3 @@
# Syntax highlighting
<tiptap-demo name="Examples/CodeBlockLanguage"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/CodeBlockLanguage

View File

@@ -4,4 +4,4 @@
Using this extension in a commercial project? [Become a sponsor](/sponsor) to fund its development!
:::
<tiptap-demo name="Examples/Tables"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Tables

View File

@@ -1,3 +1,3 @@
# Tasks
<tiptap-demo name="Examples/Tasks"></tiptap-demo>
https://embed.tiptap.dev/preview/Examples/Tasks