Skip to content

fix(ui): save nested richtext inside inlineBlock #12773

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GermanJablo
Copy link
Contributor

@GermanJablo GermanJablo commented Jun 11, 2025

Removing the setTimeout not only doesn't break any tests, but it also fixes the linked issue.

The long comment above the if statement was added in #5460 and explains why the if statement is necessary GIVEN the existence of the setTimeout, but the setTimeout was introduced earlier because the button apparently didn't work.

It seems to work now without the setTimeout, because otherwise the tests wouldn't even pass. I also tested it manually, and it works fine.

Fixes #12687

@GermanJablo GermanJablo marked this pull request as ready for review June 11, 2025 21:03
@GermanJablo GermanJablo requested a review from AlessioGr June 11, 2025 21:03
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.

Inline Block with Rich Text field always prompts to save with Postgres
1 participant