Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/lexical-website/docs/concepts/node-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const question = $getValue(pollNode, questionState);
See also
[$getStateChange](https://lexical.dev/docs/api/modules/lexical#getstatechange)
if you need an efficient way to determine if the state has changed on two
versions of the same node (typcially used in updateDOM, but may be useful in
versions of the same node (typically used in updateDOM, but may be useful in
an update listener or mutation listener).

### $setState
Expand Down
6 changes: 3 additions & 3 deletions packages/lexical-website/docs/concepts/traversals.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ to use
where the distance metric is signed.

In SDF terms, the subset of the space is `[offset, ∞)`. Any coordinate less
than the `offset` boundary is a negative distance; otherise the distance is
than the `offset` boundary is a negative distance; otherwise the distance is
non-negative.

:::
Expand Down Expand Up @@ -401,7 +401,7 @@ refactored to use NodeCaret internally.
Once this happens, it's possible that the internal structure of PointType
and/or RangeSelection may change to accommodate NodeCaret, as it is more
resilient to document changes (only changes that directly affect the
orgin node will "break" the point). A simple version of this would be to
origin node will "break" the point). A simple version of this would be to
create a caret any time that the point changes, and use that caret
as a fallback if the selection would otherwise be lost.

Expand Down Expand Up @@ -498,5 +498,5 @@ it is not uncommon to use
where the distance metric is signed.

In SDF terms, the subset of the space is `[offset, ∞)`. Any coordinate less
than the `offset` boundary is a negative distance; otherise the distance is
than the `offset` boundary is a negative distance; otherwise the distance is
non-negative.
2 changes: 1 addition & 1 deletion packages/lexical-website/docs/react/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Plugin that allows tab indentation in combination with `@lexical/rich-text`.

### `LexicalAutoLinkPlugin`

Plugin will convert text into links based on passed matchers list. In example below whenever user types url-like string it will automaticaly convert it into a link node
Plugin will convert text into links based on passed matchers list. In example below whenever user types url-like string it will automatically convert it into a link node

```jsx
const URL_MATCHER =
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical/src/LexicalNodeState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export interface StateValueConfig<V> {
/**
* Create a StateConfig for the given string key and StateValueConfig.
*
* The key must be locally unique. In dev you wil get a key collision error
* The key must be locally unique. In dev you will get a key collision error
* when you use two separate StateConfig on the same node with the same key.
*
* The returned StateConfig value should be used with {@link $getState} and
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical/src/caret/LexicalCaretUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export function $removeTextFromCaretRange<D extends CaretDirection>(
}

/**
* Determine if the two caret orgins are in distinct blocks that
* Determine if the two caret origins are in distinct blocks that
* should be merged.
*
* The returned block pair will be the closest blocks to their
Expand Down