dragging logic

This commit is contained in:
Salihu
2026-08-07 22:47:18 +01:00
parent 1e2184c021
commit 166dcdbb05
6 changed files with 159 additions and 9 deletions
@@ -30,8 +30,8 @@ export const TabLabel = Node.create<TabLabelOptions>({
mergeAttributes(
{
"data-type": this.name,
hidden: "hidden",
"aria-hidden": "true",
class: "not-draggable-match"
},
this.options.HTMLAttributes,
HTMLAttributes,
@@ -27,7 +27,7 @@ export const TabPanel = Node.create<TabPanelOptions>({
return [
"div",
mergeAttributes(
{ "data-type": this.name, role: "tabpanel" },
{ "data-type": this.name, role: "tabpanel", class: "not-draggable-match" },
this.options.HTMLAttributes,
HTMLAttributes,
),