Skip to content

Commit

Permalink
chore: change version to 0.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
1943time committed Dec 16, 2023
1 parent 3e3a581 commit be466ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluestone",
"version": "0.12.2",
"version": "0.12.3",
"description": "",
"main": "./out/main/index.js",
"license": "AGPL-3.0",
Expand Down
1 change: 1 addition & 0 deletions src/renderer/src/editor/plugins/htmlParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export const htmlParser = (editor: Editor, html: string) => {
if (!Range.isCollapsed(sel)) {
const back = new BackspaceKey(editor)
back.range()
Transforms.select(editor, Range.start(sel))
setTimeout(() => {
const node = Editor.node(editor, [0])
if (editor.children.length > 1 && node[0].type === 'paragraph' && !Node.string(node[0])) {
Expand Down

0 comments on commit be466ad

Please sign in to comment.