Skip to content

[rich-text-editor] Externalize the toolbar #1690

@heruan

Description

@heruan

Would it be possible to externalize the toolbar, i.e. make it a separate component? This would let a developer to:

  • use its own toolbar (or no toolbar at all)
  • place the toolbar elsewhere in the page layout, e.g.
<dom-module id="my-custom-layout">
  <template>
    <div part="toolbar-container">
        <vaadin-rich-text-toolbar></vaadin-rich-text-toolbar>
    </div>
    <div part="editor-container">
        <vaadin-rich-text-editor></vaadin-rich-text-editor>
    </div>
  </template>
</dom-module>

This would be particularly useful e.g. to have the toolbar in a location of the page that is always visible when editing long content that scrolls.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions