Skip to content

Commit aa8dfdf

Browse files
committed
Horizontal all the way
1 parent 6bbc771 commit aa8dfdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dropcursor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function pluginStateFor(state, pos, options) {
8888
if (!deco) {
8989
let node = document.createElement("span")
9090
node.textContent = "\u200b"
91-
node.style.cssText = style(options, "left") + "; display: inline-block; pointer-events: none"
91+
node.style.cssText = style(options, "top") + "; display: inline-block; pointer-events: none"
9292
deco = Decoration.widget(pos, node)
9393
}
9494
return {pos, deco: DecorationSet.create(state.doc, [deco])}

0 commit comments

Comments
 (0)