mdx-editor / editor

A rich text editor React component for markdown
https://mdxeditor.dev
MIT License
1.63k stars 131 forks source link

Fix updating of table inside nested editor #454

Closed oliver-crowe-bp closed 2 months ago

oliver-crowe-bp commented 2 months ago

This is a fix for issue #451

If the table propagates the NESTED_EDITOR_UPDATED_COMMAND in the same way as the NestedLexicalEditor, it can update correctly when inside one. This also requires the table's parentEditor.update to be discrete like the update in NestedLexicalEditor so any parent editors get the newly updated table when they update.

petyosi commented 2 months ago

Thank you for digging into it, I will test this and merge if everything is ok.

github-actions[bot] commented 2 months ago

:tada: This PR is included in version 3.0.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: