Skip to content

Commit

Permalink
buld: include @lexical/text as dependency after ESM fix
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed May 6, 2024
1 parent 24c2c31 commit 8e959d5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 389 deletions.
1 change: 1 addition & 0 deletions packages/svelte-lexical/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"@lexical/utils": "0.14.3",
"@lexical/yjs": "0.14.3",
"@lexical/markdown": "0.14.3",
"@lexical/text": "0.14.3",
"lexical": "0.14.3",
"lodash-es": "^4.17.21",
"prettier": "^3.2.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {$isAtNodeEnd as isAtNodeEnd} from '@lexical/selection';
import type {RangeSelection} from 'lexical/LexicalSelection.js';
import type {RangeSelection} from 'lexical';

export default function getSelectedNode(selection: RangeSelection) {
const anchor = selection.anchor;
Expand Down
Loading

0 comments on commit 8e959d5

Please sign in to comment.