diff --git a/components.d.ts b/components.d.ts
index daef8e5..b8722cd 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -11,6 +11,8 @@ declare module '@vue/runtime-core' {
export interface GlobalComponents {
BubbleMenu: typeof import('./src/components/Tiptap/BubbleMenu.vue')['default']
CommandsList: typeof import('./src/components/Tiptap/CommandsList.vue')['default']
+ DragableHandle: typeof import('./src/components/Tiptap/DragableHandle.vue')['default']
+ DragableNode: typeof import('./src/components/Tiptap/DragableNode.vue')['default']
Editor: typeof import('./src/components/Tiptap/Editor.vue')['default']
}
}
diff --git a/src/components/Tiptap/DragableHandle.vue b/src/components/Tiptap/DragableHandle.vue
new file mode 100644
index 0000000..335dace
--- /dev/null
+++ b/src/components/Tiptap/DragableHandle.vue
@@ -0,0 +1,56 @@
+
+
+
+
- That’s a boring paragraph followed by a fenced code block: -
-for (var i=1; i <= 20; i++)
-{
- if (i % 15 == 0)
- console.log("FizzBuzz");
- else if (i % 3 == 0)
- console.log("Fizz");
- else if (i % 5 == 0)
- console.log("Buzz");
- else
- console.log(i);
-}
- - Press Command/Ctrl + Enter to leave the fenced code block and continue typing in boring paragraphs. -
`, + content: `This is a boring paragraph.
+Followed by a fancy draggable item.
+And another draggable item.
+And a nested one.
+But can we go deeper?
+Let’s finish with a boring paragraph.
`, extensions: [ StarterKit, Typography, + DraggableItem, Link.configure({ openOnClick: false, }),