prosemirror-safari-ime-span
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -43,7 +43,6 @@ // src/index.ts | ||
function createDecorations(state) { | ||
const { $from, $to, from } = state.selection; | ||
const { $from, $to, to } = state.selection; | ||
const composing = key.getState(state); | ||
if (composing && $from.sameParent($to)) { | ||
const deco = Decoration.widget(from, createSpan, { | ||
side: -100, | ||
const deco = Decoration.widget(to, createSpan, { | ||
ignoreSelection: true, | ||
@@ -50,0 +49,0 @@ key: "safari-ime-span" |
{ | ||
"name": "prosemirror-safari-ime-span", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"packageManager": "pnpm@8.15.8", | ||
@@ -6,0 +6,0 @@ "description": "", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8335
150