Skip to content
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

fix(richtext-lexical): restore selection #10129

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Conversation

GermanJablo
Copy link
Contributor

Fix #9964

Now we make sure that the node for the previous selection exists before restoring it to avoid a runtime error.

I also optimized the performance of a function in the client feature.

In the future, we should centralize the insertion of all decorator blocks in one place. There are several things to improve. For example, currently an additional paragraph is inserted (in addition to the one for the selection we delete).

@GermanJablo GermanJablo enabled auto-merge (squash) December 22, 2024 15:04
@GermanJablo GermanJablo merged commit 154ad9d into main Dec 22, 2024
71 checks passed
@GermanJablo GermanJablo deleted the fix/9964/upload-lexical branch December 22, 2024 15:18
Copy link
Contributor

🚀 This is included in version v3.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error after uploading a new item via the rich text editor
1 participant