mirror of
https://github.com/docmost/docmost.git
synced 2026-08-23 19:32:13 +10:00
dragging logic
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user