Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/core/src/editor/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
hidden. So setting it to an extremely low value instead makes the element
functionally invisible while not affecting the drag preview itself. */
opacity: 0.001;
/* The element is kept in the DOM after setDragImage captures its snapshot,
so it can overlap the editor and block drops in that area. Disabling
pointer-events lets drag/drop events pass through to the editor while
leaving the captured preview unaffected. */
pointer-events: none;
}

.bn-editor .bn-collaboration-cursor__base {
Expand Down
Loading