diff --git a/packages/editor/src/components/rich-text/index.js b/packages/editor/src/components/rich-text/index.js index 1d6c353448d9ef..724c9f26e30e61 100644 --- a/packages/editor/src/components/rich-text/index.js +++ b/packages/editor/src/components/rich-text/index.js @@ -366,7 +366,7 @@ export class RichText extends Component { return; } - if ( event ) { + if ( event && event.nativeEvent.inputType ) { const { inputType } = event.nativeEvent; // The browser formatted something or tried to insert HTML.