KEMBAR78
[rich-text-editor] Move toolbar tooltips to the slot to make their overlays stylable globally · Issue #9711 · vaadin/web-components · GitHub
Skip to content

[rich-text-editor] Move toolbar tooltips to the slot to make their overlays stylable globally #9711

@web-padawan

Description

@web-padawan

Motivation

With native popover, we'll no longer teleport vaadin-tooltip-overlay to the body but instead keep it in the shadow DOM of the vaadin-tooltip. We should make sure it can be styled with light DOM CSS consistently.

Proposed solution

  • Extract the toolbar into a separate slotted component e.g. vaadin-rich-text-editor-toolbar
  • Make toolbar use slotted buttons e.g. vaadin-rich-text-editor-button wrapping a tooltip

Note

Using a dedicated toolbar component is not directly needed but it could be a foundation for adding APIs for configuring the toolbar (there was an internal discussion about some customer interested in it). See also:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions