nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
17.16k stars 1.75k forks source link

Keyboard shortcuts #281

Open Eraldo opened 6 years ago

Eraldo commented 6 years ago

Is there an overview of the keyboard shortcuts somewhere?

Is there there an easy way to customise the shortcuts?

I did find the individual keymap settings for the default commands searching the repository source files. I also searched for an existing issue regarding this topic and decided to start a thread about it so other people will have an easier time in the future finding information related to key-mapping.

Questions/Ideas:

What are your thoughts? Feedback? Did I miss something? Thanks!

LinFeng1997 commented 5 years ago

I find that: https://github.com/nhnent/tui.editor/blob/51d11e2fa3fecf8b64750fb3f1150d0985c19445/src/js/keyMapper.js

sohee-lee7 commented 5 years ago

@Eraldo Sorry for late reply. We are considering a way to show shortcuts in the current editor. For support easy way to show and customize shortcut, the following items must be determined.

gregroyal commented 5 years ago

I found out how to display the shortcuts in the editor as tooltips on the buttons (#524)

wjzhao commented 4 years ago

I found out how to display the shortcuts in the editor as tooltips on the buttons (#524)

so, how to use the shortcut, eg: "command + s" ..., I found no document about this

aedart commented 2 years ago

Is there any status on this? It would really be nice to allow users to see what keyboard shortcuts are available.