Skip to content

Commit

Permalink
small review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Darginec05 committed Jul 21, 2024
1 parent 40f9657 commit 4e6fc72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"private": true,
"scripts": {
"dev": "npm-run-all --parallel start serve",
"start": "yarn lerna run start --scope @yoopta/editor --scope @yoopta/starter-kit --parallel --ignore development",
"start": "yarn lerna run start --parallel --ignore development",
"serve": "yarn lerna run dev --scope=development",
"build": "yarn clean && yarn install && yarn lerna run build --parallel --ignore development",
"clean": "find ./packages -type d -name dist ! -path './packages/development/*' -exec rm -rf {} +",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/editor/src/editor/core/blur.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ function blurFn(editor: YooEditor, slate: SlateEditor) {
Transforms.deselect(slate);
} catch (error) {}

// editor.setBlockSelected(null);
// editor.setSelection(null);
editor.setBlockSelected(null);
editor.setSelection(null);
}

export function blur(editor: YooEditor, options: EditorBlurOptions = {}) {
Expand Down

0 comments on commit 4e6fc72

Please sign in to comment.