Skip to content

Commit 9e149fd

Browse files
Record fork provenance in dropcursor.ts
Forked from @codemirror/view 0.19.44 per the commit that introduced it (ef53e3e) and not synced since. Note the behavioural change, matching the provenance header style of our lint fork.
1 parent 68aac67 commit 9e149fd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/editor/codemirror/dropcursor.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@
2323
*/
2424

2525
/**
26-
* Edited from https://github.com/codemirror/view/blob/main/src/dropcursor.ts
26+
* Modified copy of the dropcursor extension from @codemirror/view 0.19.44
27+
* https://github.com/codemirror/view/blob/0.19.44/src/dropcursor.ts
28+
*
29+
* Changes:
30+
* - The drop cursor is not shown for drags carrying our Python snippet
31+
* media type, as the dnd extension previews those directly in the
32+
* document instead.
2733
*/
2834

2935
import { StateField, StateEffect, Extension } from "@codemirror/state";

0 commit comments

Comments
 (0)