You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a CustomTableNode that replaces the internal TableNode, the TableSelection isn't working on this CustomTableNode. I had to rewrite the mutation listener to listen for CustomTableNode mutation . Is there a way to support mutation listeners for node override ?
I have a CustomTableNode that replaces the internal TableNode, the TableSelection isn't working on this CustomTableNode. I had to rewrite the mutation listener to listen for CustomTableNode mutation . Is there a way to support mutation listeners for node override ?
link to reproduce : https://codesandbox.io/s/infallible-mendeleev-lsn5fz?file=/src/Editor.js
here is my custom table node:
I had to rewrite the same logic that attaches TableSelection for CustomTableNode so that selection works.
Lexical version:1.10.0
Steps To Reproduce
The current behavior
registerMutationObserver for original node won't work for the replaced node
The expected behavior
registerMutationObserver for original node should work for the replaced node
The text was updated successfully, but these errors were encountered: