Skip to content

Commit 257cca6

Browse files
aduthyouknowriad
authored andcommitted
Editor: RichText: Check for presence of inputType (#13986)
1 parent 9ab5d48 commit 257cca6

File tree

1 file changed

+1
-1
lines changed
  • packages/editor/src/components/rich-text

1 file changed

+1
-1
lines changed

packages/editor/src/components/rich-text/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export class RichText extends Component {
366366
return;
367367
}
368368

369-
if ( event ) {
369+
if ( event && event.nativeEvent.inputType ) {
370370
const { inputType } = event.nativeEvent;
371371

372372
// The browser formatted something or tried to insert HTML.

0 commit comments

Comments
 (0)