KEMBAR78
refactor!: update rich-text-editor to render link dialog in light DOM by sissbruecker · Pull Request #9772 · vaadin/web-components · GitHub
Skip to content

Conversation

@sissbruecker
Copy link
Contributor

Description

Render the link dialog as slotted content in the light DOM.

Fixes #9710

Type of change

  • Breaking change

@sissbruecker sissbruecker marked this pull request as ready for review July 18, 2025 08:38
</div>
<vaadin-confirm-dialog
id="linkDialog"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed all the IDs from the dialog. They were not usable for referencing elements anymore, and the IDs of the slotted dialog content are in the light DOM, where we shouldn't have any IDs in general. Technically someone might have used these for targetting styles, the alternative would then be to target the slot attribute.

@sonarqubecloud
Copy link

@web-padawan web-padawan changed the title refactor! update rich-text-editor to render link dialog in light DOM refactor!: update rich-text-editor to render link dialog in light DOM Jul 18, 2025
@web-padawan web-padawan merged commit 45001eb into main Jul 18, 2025
10 checks passed
@web-padawan web-padawan deleted the refactor/rte-link-dialog-light-dom branch July 18, 2025 09:20
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-alpha3.

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.

[rich-text-editor] Move confirm-dialog to the slot to make its overlay stylable globally

3 participants