diff --git a/docs/src/docPages/guide/node-views/react.md b/docs/src/docPages/guide/node-views/react.md index 72f6008f..9381d943 100644 --- a/docs/src/docPages/guide/node-views/react.md +++ b/docs/src/docPages/guide/node-views/react.md @@ -97,16 +97,16 @@ The `NodeViewWrapper` and `NodeViewContent` components render a `
` HTML tag ## All available props Here is the full list of what props you can expect: -| Prop | Description | -| ------------------ | -------------------------------------------------------- | -| `editor` | The editor instance | -| `node` | The current node | -| `decorations` | An array of decorations | -| `selected` | `true` when the cursor is inside the node view | -| `extension` | Access to the node extension, for example to get options | -| `getPos` | Get the document position of the current node | -| `updateAttributes` | Update attributes of the current node | -| `deleteNode` | Delete the current node | +| Prop | Description | +| ------------------ | --------------------------------------------------------------- | +| `editor` | The editor instance | +| `node` | The current node | +| `decorations` | An array of decorations | +| `selected` | `true` when there is a `NodeSelection` at the current node view | +| `extension` | Access to the node extension, for example to get options | +| `getPos` | Get the document position of the current node | +| `updateAttributes` | Update attributes of the current node | +| `deleteNode` | Delete the current node | ## Dragging To make your node views draggable, set `draggable: true` in the extension and add `data-drag-handle` to the DOM element that should function as the drag handle. diff --git a/docs/src/docPages/guide/node-views/vue.md b/docs/src/docPages/guide/node-views/vue.md index bad289d3..970ca786 100644 --- a/docs/src/docPages/guide/node-views/vue.md +++ b/docs/src/docPages/guide/node-views/vue.md @@ -148,7 +148,7 @@ export default { type: Array, }, - // true when the cursor is inside the node view + // `true` when there is a `NodeSelection` at the current node view selected: { type: Boolean, },