문제

Is it possible to apply a keyboard shortcut to a particular style from Styles drom down in CkEditor? I searched their docs but I could not find a solution for my case.

Here is screenshot.

enter image description here

Here I want to be able to apply a keyboard shortcut to yellow marker from that Styles drop down. Any help will be appreciated. Thanks

도움이 되었습니까?

해결책

Here you go. This example shows how to attach a style to CTRL+SHIFT+1 keystroke. You can use switch statement for different keystrokes and play with them any way you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top