Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Fix comment
  • Loading branch information
mcsf committed Jul 10, 2023
commit 7e78283e47b61b77b59e0ec25b9fd9033b82fb8a
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