update content
This commit is contained in:
@@ -72,4 +72,6 @@ context('/api/marks/link', () => {
|
|||||||
.should('have.attr', 'href', url)
|
.should('have.attr', 'href', url)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// TODO: Test invalid URLs
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ createNode({
|
|||||||
#### Defining
|
#### 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`.
|
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
|
```js
|
||||||
createNode({
|
createNode({
|
||||||
|
|||||||
Reference in New Issue
Block a user