3.1.12 Hotkeys
Added Hotkeys plugin
Now for all Commands you can add custom shortcust
Shortcuts now:
- ctrl+b - Bold
- ctrl+i - Italic
- ctrl+u - Underline
- ctrl+shift+i - Open special character dialog
- ctrl+r - Open find and replace dialog
- ctrl+f - Open find dialog
- ctrl+z - Undo
- ctrl+y - Redo
You can override default shortcut or add custom to default value:
var jodit = new Jodit('#editor', {
commandToHotkeys: {
bold: 'ctrl+shift+b',
italic: ['ctrl+i', 'ctrl+b'],
}
})