docs: update content
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# HTML
|
||||
TODO
|
||||
[](https://www.npmjs.com/package/@tiptap/html)
|
||||
[](https://npmcharts.com/compare/@tiptap/html?minimal=true)
|
||||
|
||||
The utility helps rendering JSON content as HTML without an editor instance, for example on the server side. All it needs is a JSON and an array of extensions.
|
||||
|
||||
## Source code
|
||||
[packages/html/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/html/)
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# Suggestion
|
||||
TODO
|
||||
[](https://www.npmjs.com/package/@tiptap/suggestion)
|
||||
[](https://npmcharts.com/compare/@tiptap/suggestion?minimal=true)
|
||||
|
||||
This utility helps with all kinds of suggestions in the editor. Have a look at the [`Mention`](/api/nodes/mention), [`Hashtag`](/api/nodes/hashtag) or [`Emoji`](/api/nodes/emoji) node to see it in action.
|
||||
|
||||
## Settings
|
||||
| Option | Type | Default | Description |
|
||||
@@ -13,13 +16,6 @@ TODO
|
||||
| items | `Function` | `() => {}` | Pass an array of filtered suggestions, can be async. |
|
||||
| render | `Function` | `() => ({})` | A render function for the autocomplete popup. |
|
||||
|
||||
## Render
|
||||
TODO
|
||||
|
||||
## Source code
|
||||
[packages/suggestion/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/suggestion/)
|
||||
|
||||
## Usage
|
||||
* [`Emoji`](/api/nodes/emoji)
|
||||
* [`Hashtag`](/api/nodes/hashtag)
|
||||
* [`Mention`](/api/nodes/mention)
|
||||
|
||||
Reference in New Issue
Block a user