@blocknote/core 0.12.3 → 0.12.4
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/dist/blocknote.js
CHANGED
|
@@ -2483,11 +2483,11 @@ class bo extends K {
|
|
|
2483
2483
|
}
|
|
2484
2484
|
},
|
|
2485
2485
|
props: {
|
|
2486
|
-
|
|
2487
|
-
const
|
|
2488
|
-
return o.includes(
|
|
2489
|
-
r.state.tr.insertText(
|
|
2490
|
-
triggerCharacter:
|
|
2486
|
+
handleTextInput(r, i, s, a) {
|
|
2487
|
+
const l = this.getState(r.state);
|
|
2488
|
+
return o.includes(a) && l === void 0 ? (r.dispatch(
|
|
2489
|
+
r.state.tr.insertText(a).scrollIntoView().setMeta(R, {
|
|
2490
|
+
triggerCharacter: a
|
|
2491
2491
|
})
|
|
2492
2492
|
), !0) : !1;
|
|
2493
2493
|
},
|