diff --git a/docs/src/docPages/guide/node-views.md b/docs/src/docPages/guide/node-views.md index 01e386d1..230c8bc0 100644 --- a/docs/src/docPages/guide/node-views.md +++ b/docs/src/docPages/guide/node-views.md @@ -102,11 +102,6 @@ parseHTML() { ### Render JavaScript/Vue/React But what if you want to render your actual JavaScript/Vue/React code? Consider using tiptap to render your output. Just set the editor to `editable: false` and no one will notice you’re using an editor to render the content. :-) -## 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 c73c9fc2..3f89f635 100644 --- a/docs/src/docPages/guide/node-views/vue.md +++ b/docs/src/docPages/guide/node-views/vue.md @@ -189,3 +189,8 @@ export default Vue.extend({ props: nodeViewProps, }) ``` + +## 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. + +