Skip to content

Commit a9a9521

Browse files
committed
new
1 parent 3b62ee1 commit a9a9521

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/06-custom-schema/inline-content-draggable/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const draggableButton = createReactInlineContentSpec(
3131
cursor: "move",
3232
}}
3333
data-drag-handle>
34-
<span>{props.inlineContent.props.title}</span>
34+
{props.inlineContent.props.title}
3535
</span>
3636
);
3737
},

packages/core/src/extensions/SideMenu/SideMenuPlugin.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,13 @@ export class SideMenuView<
286286
return;
287287
}
288288

289-
if (
290-
this.sideMenuDetection === "editor" ||
291-
(event as any).synthetic ||
292-
!event.dataTransfer?.types.includes("blocknote/html")
293-
) {
294-
return;
295-
}
289+
// if (
290+
// this.sideMenuDetection === "editor" ||
291+
// (event as any).synthetic ||
292+
// !event.dataTransfer?.types.includes("blocknote/html")
293+
// ) {
294+
// return;
295+
// }
296296

297297
this.editor._tiptapEditor.commands.blur();
298298

0 commit comments

Comments
 (0)