update content

This commit is contained in:
Hans Pagel
2020-11-12 15:50:24 +01:00
parent 31d2947ed1
commit 3885f08475
4 changed files with 9 additions and 7 deletions

View File

@@ -92,7 +92,7 @@ That said, tiptap **does** support Markdown shortcuts to format your content. Tr
## Generate HTML from ProseMirror JSON
If you need to render the content on the server side, for example to render a blog post which was written with tiptap, youll probably need a way to do just that without an actual editor instance.
Thats what `generateHTML()` is for. Its a utility function that renders HTML without an actual editor instance.
Thats what `generateHTML()` is for. Its a utility function that renders HTML without an actual editor instance. As an easy alternative, you can also use tiptap in a [read-only mode](/examples/read-only).
:::info Browser-only rendering
Import a lightweight implementation from `@tiptap/core` if youre using the function in a browser context only.