@blocksuite/editor
Advanced tools
Comparing version 0.3.0-20221221064254-e3ebf2f to 0.3.0-20221221203131-25ad8b6
@@ -173,3 +173,3 @@ import { EmbedBlockModel, getCurrentRange, ListBlockModel, matchFlavours, SelectionUtils, } from '@blocksuite/blocks'; | ||
document.body.removeChild(tempElem); | ||
SelectionUtils.restoreSelection(curRange); | ||
SelectionUtils.resetNativeSelection(curRange); | ||
} | ||
@@ -176,0 +176,0 @@ return success; |
{ | ||
"name": "@blocksuite/editor", | ||
"version": "0.3.0-20221221064254-e3ebf2f", | ||
"version": "0.3.0-20221221203131-25ad8b6", | ||
"description": "Default BlockSuite-based editor built for AFFiNE.", | ||
@@ -11,4 +11,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@blocksuite/blocks": "0.3.0-20221221064254-e3ebf2f", | ||
"@blocksuite/store": "0.3.0-20221221064254-e3ebf2f", | ||
"@blocksuite/blocks": "0.3.0-20221221203131-25ad8b6", | ||
"@blocksuite/store": "0.3.0-20221221203131-25ad8b6", | ||
"lit": "^2.3.1", | ||
@@ -15,0 +15,0 @@ "marked": "^4.1.0", |
@@ -215,3 +215,3 @@ import { | ||
document.body.removeChild(tempElem); | ||
SelectionUtils.restoreSelection(curRange); | ||
SelectionUtils.resetNativeSelection(curRange); | ||
} | ||
@@ -218,0 +218,0 @@ return success; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
314369
+ Added@blocksuite/blocks@0.3.0-20221221203131-25ad8b6(transitive)
+ Added@blocksuite/store@0.3.0-20221221203131-25ad8b6(transitive)
- Removed@blocksuite/blocks@0.3.0-20221221064254-e3ebf2f(transitive)
- Removed@blocksuite/store@0.3.0-20221221064254-e3ebf2f(transitive)