mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 04:19:02 +08:00
update content
This commit is contained in:
parent
bb9e159642
commit
8ee85ca035
@ -72,4 +72,6 @@ context('/api/marks/link', () => {
|
||||
.should('have.attr', 'href', url)
|
||||
})
|
||||
})
|
||||
|
||||
// TODO: Test invalid URLs
|
||||
})
|
||||
|
@ -179,7 +179,7 @@ createNode({
|
||||
#### Defining
|
||||
Nodes get dropped when their entire content is replaced (for example, when pasting new content) by default. If a node should be kept for such replace operations, configure them as `defining`.
|
||||
|
||||
Typically, that applies to [`Blockquote`](/api/extensions/blockquote), [`CodeBlock`](/api/extensions/code-block), [`Heading`](/api/extensions/heading), and [`ListItem`](/api/extensions/list-item).
|
||||
Typically, that applies to [`Blockquote`](/api/node/blockquote), [`CodeBlock`](/api/node/code-block), [`Heading`](/api/node/heading), and [`ListItem`](/api/node/list-item).
|
||||
|
||||
```js
|
||||
createNode({
|
||||
|
Loading…
Reference in New Issue
Block a user