diff --git a/packages/lexical/src/LexicalSelection.ts b/packages/lexical/src/LexicalSelection.ts index 8bd4f1467d9..1b493f8757b 100644 --- a/packages/lexical/src/LexicalSelection.ts +++ b/packages/lexical/src/LexicalSelection.ts @@ -2657,6 +2657,9 @@ export function updateDOMSelection( // If we encounter an error, continue. This can sometimes // occur with FF and there's no good reason as to why it // should happen. + if (__DEV__) { + console.warn(error); + } } if ( !tags.has('skip-scroll-into-view') &&