Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsf committed Jul 10, 2023
1 parent a0165e2 commit 7e78283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rich-text/src/component/use-select-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function useSelectObject() {
if ( selection.containsNode( target ) ) return;

const range = ownerDocument.createRange();
// If the target in within a non editable element, select the non
// If the target is within a non editable element, select the non
// editable element.
const nodeToSelect = target.isContentEditable
? target
Expand Down

0 comments on commit 7e78283

Please sign in to comment.