Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/landingpage

This commit is contained in:
Philipp Kühn
2021-02-02 15:08:46 +01:00
23 changed files with 201 additions and 134 deletions

View File

@@ -145,6 +145,17 @@ Node.create({
})
```
For some cases where you want features that arent available in marks, for example a node view, try if an inline node would work:
```js
Node.create({
name: 'customInlineNode',
group: 'inline',
inline: true,
content: 'text*',
})
```
#### Atom
Nodes with `atom: true` arent directly editable and should be treated as a single unit. Its not so likely to use that in a editor context, but this is how it would look like: