We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76f679 commit bc6b259Copy full SHA for bc6b259
1 file changed
packages/rich-text/src/hook/event-listeners/input-and-selection.js
@@ -142,17 +142,6 @@ export default ( props ) => ( element ) => {
142
return;
143
}
144
145
- // When this element is itself focused but nested inside another
146
- // editing host (e.g. an HTML block's static inner blocks), writing
147
- // flow owns its selection; don't self-sync. The editable root host
148
- // case is different: the host holds focus, not this element.
149
- if (
150
- ownerDocument.activeElement === element &&
151
- element.parentElement.closest( '[contenteditable="true"]' )
152
- ) {
153
- return;
154
- }
155
-
156
// In case of a keyboard event, ignore selection changes during
157
// composition.
158
if ( isComposing ) {
0 commit comments