Skip to content

Bug: Built-in and custom toolbar buttons fail to toggle formatting #2795

@123hzh

Description

@123hzh

What happened?

The buttons on the built-in toolbar cannot toggle formatting. For example, after bolding text by clicking the bold button, clicking it again does not unbold the text. Other built-in buttons exhibit the same behavior. Similarly, the toolbar.execute() method for custom buttons also fails to toggle the addition and removal of formatting

Steps to reproduce

No response

SuperDoc version

No response

Browser

None

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions