@neocodemirror/svelte
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -100,3 +100,2 @@ import { historyField, defaultKeymap, indentWithTab } from '@codemirror/commands'; | ||
if (!is_nullish(new_options.cursorPos) && !is_equal(options.cursorPos, new_options.cursorPos)) { | ||
console.log("setting cursorPos", new_options.cursorPos); | ||
transaction.selection = { | ||
@@ -130,3 +129,2 @@ anchor: new_options.cursorPos ?? 0, | ||
if (is_equal(options.documentId, new_options.documentId) && !is_nullish(options.documentId)) { | ||
console.log(1); | ||
await Promise.all([ | ||
@@ -133,0 +131,0 @@ append_effect(setup_compartment, ["setup"], get_setup), |
@@ -100,3 +100,2 @@ import { historyField, defaultKeymap, indentWithTab } from '@codemirror/commands'; | ||
if (!is_nullish(new_options.cursorPos) && !is_equal(options.cursorPos, new_options.cursorPos)) { | ||
console.log("setting cursorPos", new_options.cursorPos); | ||
transaction.selection = { | ||
@@ -130,3 +129,2 @@ anchor: new_options.cursorPos ?? 0, | ||
if (is_equal(options.documentId, new_options.documentId) && !is_nullish(options.documentId)) { | ||
console.log(1); | ||
await Promise.all([ | ||
@@ -133,0 +131,0 @@ append_effect(setup_compartment, ["setup"], get_setup), |
{ | ||
"name": "@neocodemirror/svelte", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Svelte Action to add codemirro to your apps 😉", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
39298
992