-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Copy paste list from MacOS Pages app throw an error #583
Comments
@dmowski forgot to mention - thank you for the sponsorship. I will see if I can at least prevent the error, even if this means losing the indentation, which IMO is far more acceptable. |
Nice, Thanks. yes, it will be nice to prevent losing data, even if formatting will be broken (that's ok). In my case, end user see editor on page with auto saving functionality, and they may put something to editor and close the tab. With error, onChange event doesn't trigger and nothing to save |
🎉 This issue has been resolved in version 3.11.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
When copy pasting List elements from docx file on MacOs, changes are not applied.
To Reproduce
listCopyPaste.docx
TypeError: Cannot read properties of undefined (reading 'children')
Expected behavior
No error in console, on change event triggered
Desktop:
Additional context
I found, that errors happened on module
src/exportMarkdownFromLexical.ts:100
Function: isParent
Additionally I checked that
mdastParent!
is undefinedsrc/exportMarkdownFromLexical.ts:100
I've tried to update lexical libs to 0.17.1 - doesn't help
If someone would suggest what to do to fix it, or how to better research it I will be thankful.
For now, I am new at that code base, and it's little difficult to fix it fast for me
The text was updated successfully, but these errors were encountered: