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 embed inherits formats unexpectedly #3783

Merged
merged 1 commit into from
Jun 1, 2023
Merged

Conversation

luin
Copy link
Member

@luin luin commented Jun 1, 2023

Closes #3623

Similar to how we revert the formats for text, we get the current inline formats of the target position and calculate the diff, and apply them to the inserted embed.

@luin luin marked this pull request as ready for review June 1, 2023 14:35
@luin luin requested a review from jhchen June 1, 2023 14:43
@luin luin merged commit 665d30c into develop Jun 1, 2023
@luin luin deleted the zh-fix-embed-formats branch June 1, 2023 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inserted inline embed inherits formats with applyDelta
2 participants