Skip to content
This repository was archived by the owner on May 26, 2024. It is now read-only.
This repository was archived by the owner on May 26, 2024. It is now read-only.

Add class to toolbar buttons #43

@jonyhayama

Description

@jonyhayama

I'm submitting a...

  • Bug report
  • Feature request

Request

Add class with button names to toolbar buttons.

Current version is:

<div class="editor-toolbar">
  <button title="Bold (Ctrl-B)" tabindex="-1"><i class="fa fa-bold"></i></button>
  ...
</div>

I'd like to propose we simply add a class, like this:

<div class="editor-toolbar">
  <button title="Bold (Ctrl-B)" class="editor-button-bold" tabindex="-1"><i class="fa fa-bold"></i></button>
  ...
</div>

This would allow CSS styles to be applied on a single button, eg. A save button shown in a different color when it detects changes that nees to be saved.

I'm more than happy to submit a Pull Request, I'm opening this issue just to check if it is OK to do so :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions