diff --git a/packages/rich-text/src/component/use-input-and-selection.js b/packages/rich-text/src/component/use-input-and-selection.js index e97db5e8e414ea..b8c5c0915903ae 100644 --- a/packages/rich-text/src/component/use-input-and-selection.js +++ b/packages/rich-text/src/component/use-input-and-selection.js @@ -172,10 +172,7 @@ export function useInputAndSelection( props ) { const { start, end: offset = start } = createRecord(); record.current.activeFormats = EMPTY_ACTIVE_FORMATS; onSelectionChange( offset ); - } else if ( - element.contains( focusNode ) && - element !== focusNode - ) { + } else if ( element.contains( focusNode ) ) { const { start, end: offset = start } = createRecord(); record.current.activeFormats = EMPTY_ACTIVE_FORMATS; onSelectionChange( undefined, offset );