@fileverse-dev/fortune-core 1.2.86-pinyin → 1.2.86-pinyin-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/modules/formula.js +1 -0
- package/lib/modules/formula.js +1 -0
- package/package.json +1 -1
package/es/modules/formula.js
CHANGED
|
@@ -1597,6 +1597,7 @@ export function handleFormulaInput(ctx, $copyTo, $editor, kcode, preText, refres
|
|
|
1597
1597
|
if (refreshRangeSelect === void 0) {
|
|
1598
1598
|
refreshRangeSelect = true;
|
|
1599
1599
|
}
|
|
1600
|
+
if (!$editor) return;
|
|
1600
1601
|
try {
|
|
1601
1602
|
var value1 = void 0;
|
|
1602
1603
|
var value1txt = preText !== null && preText !== void 0 ? preText : $editor.innerText;
|
package/lib/modules/formula.js
CHANGED
|
@@ -1627,6 +1627,7 @@ function handleFormulaInput(ctx, $copyTo, $editor, kcode, preText, refreshRangeS
|
|
|
1627
1627
|
if (refreshRangeSelect === void 0) {
|
|
1628
1628
|
refreshRangeSelect = true;
|
|
1629
1629
|
}
|
|
1630
|
+
if (!$editor) return;
|
|
1630
1631
|
try {
|
|
1631
1632
|
var value1 = void 0;
|
|
1632
1633
|
var value1txt = preText !== null && preText !== void 0 ? preText : $editor.innerText;
|