@blocknote/xl-ai 0.37.0 → 0.38.0
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-xl-ai.js
CHANGED
|
@@ -1427,12 +1427,12 @@ async function Gt(e, t) {
|
|
|
1427
1427
|
...p
|
|
1428
1428
|
},
|
|
1429
1429
|
() => {
|
|
1430
|
-
h && e.removeBlocks([h]), a == null || a();
|
|
1430
|
+
h && e.getBlock(h) && e.removeBlocks([h]), a == null || a();
|
|
1431
1431
|
}
|
|
1432
1432
|
) : (k = await At(g, {
|
|
1433
1433
|
messages: b,
|
|
1434
1434
|
...p
|
|
1435
|
-
}), h && e.removeBlocks([h]), a == null || a()), new qt(b, k, g);
|
|
1435
|
+
}), h && e.getBlock(h) && e.removeBlocks([h]), a == null || a()), new qt(b, k, g);
|
|
1436
1436
|
}
|
|
1437
1437
|
async function ze(e, t) {
|
|
1438
1438
|
const o = e.getTextCursorPosition().block.id, r = x(e.document, {
|