TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'. at ho (Lexical.prod.mjs:9:73766) at Ro.setRootElement (Lexical.prod.mjs:9:92370) at LexicalContentEditable.prod.mjs:9:681
Getting this error whenever I use production profile in webpack
Tried to use minimal lexical setup – the same result
Could please anyone asssist to identify the root cause?
LexicalUpdates.ts line 510
observer.observe(rootElement as Node, observerOptions);
gives this exception – editor`s rootElement is null
Alex Kirin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.