editor-js / editor-js/underline

Underline doesn't have shortcut hint in inlineToolbar

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31
Forks
27
PR merge metrics
No merged PRs in 30d

Description

can we have shortcut for underline so it'll be like bold toolbar below?
![image](https://github.com/editor-js/underline/assets/53071013/50fa96c4-6c09-4052-8d99-0dbf82e60cdb)
right now the underline toolbar is like this
![image](https://github.com/editor-js/underline/assets/53071013/fd178895-a66b-4a1b-8bc7-1d511b5e2ba5)
I think we can add something like this in the class component
```
static get shortcut() {
return 'CMD+U'; //or 'CTRL+U'
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.