Skip to content

Ability to add custom toolbar buttons to the new Lexical editor #6080

@Sebtechnik

Description

@Sebtechnik

Describe the feature you'd like

I would like to request an official, documented way to extend the Lexical editor toolbar with custom buttons.
Specifically, the implementation should allow to:

  • Register Custom Actions
  • Define Icons & Labels
  • Execute Custom Logic (like Inserting custom HTML or Markdown snippets)

Describe the benefits this would bring to existing BookStack users

Many users rely on custom buttons to insert specific HTML snippets, shortcodes, or annotations that are tailored to their documentation workflow. With greater customizability, it would be possible to bring these features back into the editor.

Can the goal of this request already be achieved via other means?

Due to the recent switch to the Lexical Editor, the options for customizing the editor toolbar have been limited compared to the previous TinyMCE implementation. As a result, adding a button to the toolbar is currently only possible to a limited extent

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

1 to 5 years

Additional context

No response

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