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: No Blocks Mode for RTE when required context for Blocks is not present #15556

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

nielslyngsoe
Copy link
Member

To continue supporting Rich Text Editor Property Editor implemented via <umb-property> without any further Backoffice implementations in its surroundings, this PR introduces a No Blocks Mode that will be active when the requirements for Blocks aren't meet.

Fixes #15474

Copy link
Contributor

@iOvergaard iOvergaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on a custom dashboard using <umb-property> with the same model that was in the original issue description and it works. I can see a rich text editor without the blocks button. Pasting in the custom block markup doesn't let the block show up either and no errors are thrown if the block markup is accidentally left in the html.

LGTM!

@Zeegaan
Copy link
Member

Zeegaan commented Jan 10, 2024

LGTM 🚀

@Zeegaan Zeegaan merged commit 83a0bf4 into release/13.1.0 Jan 10, 2024
13 of 14 checks passed
@Zeegaan Zeegaan deleted the v13/bugfix/rte-no-blocks-mode branch January 10, 2024 13:53
@sean-p-m
Copy link

Thanks for fixing this. It's also affecting Rich Text Areas inside DocTypeGridEditor documents and has blocked us deploying an upgrade to Umbraco 13. Now we can continue when released :-)

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.

4 participants