docs: update content
This commit is contained in:
@@ -98,11 +98,11 @@ The `NodeViewWrapper` and `NodeViewContent` components render a `<div>` HTML tag
|
|||||||
Here is the full list of what props you can expect:
|
Here is the full list of what props you can expect:
|
||||||
|
|
||||||
| Prop | Description |
|
| Prop | Description |
|
||||||
| ------------------ | -------------------------------------------------------- |
|
| ------------------ | --------------------------------------------------------------- |
|
||||||
| `editor` | The editor instance |
|
| `editor` | The editor instance |
|
||||||
| `node` | The current node |
|
| `node` | The current node |
|
||||||
| `decorations` | An array of decorations |
|
| `decorations` | An array of decorations |
|
||||||
| `selected` | `true` when the cursor is inside the node view |
|
| `selected` | `true` when there is a `NodeSelection` at the current node view |
|
||||||
| `extension` | Access to the node extension, for example to get options |
|
| `extension` | Access to the node extension, for example to get options |
|
||||||
| `getPos` | Get the document position of the current node |
|
| `getPos` | Get the document position of the current node |
|
||||||
| `updateAttributes` | Update attributes of the current node |
|
| `updateAttributes` | Update attributes of the current node |
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ export default {
|
|||||||
type: Array,
|
type: Array,
|
||||||
},
|
},
|
||||||
|
|
||||||
// true when the cursor is inside the node view
|
// `true` when there is a `NodeSelection` at the current node view
|
||||||
selected: {
|
selected: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user