Skip to content

Commit

Permalink
Remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Mar 15, 2022
1 parent 9a83329 commit 90240a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/rich-text/src/component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ export function useRichText( {
return;
}

// For merging multi selection, focus is on writing flow, so it should
// move to the selection after merge. This will probably break some
// things.
if ( ref.current.ownerDocument.activeElement !== ref.current )
ref.current.focus();
applyFromProps();
Expand Down

0 comments on commit 90240a5

Please sign in to comment.