codex-team / codex-team/editor.js

Set Header level and list type based on different shortcuts

Open
#1,734 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

How can we set different level of headers directly based on the shortcuts?
For example
H1- CMD+OPTION+1
H2- CMD+OPTION+2
H3- CMD+OPTION+3
H4- CMD+OPTION+4

Similarly for different style of list -ordered and unordered list

I was trying to change config based on shortcut to set level. I had created new shortcut and on callback of that shortcut, was trying to set Level. This approach did not work for me.

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.