Hello,
I'm writing a plugin which renderes a table on a new page on Jira. When I'm trying to edit the table (through contenteditable = "true" inside html) the Jira shortcuts are getting activated and I cannot deactivate or block them.
I already tried to just deactivate them on ? -> Keyboard Shortcuts as shown here
but now I just cannot type these letters. For example, before I deactivated them when I wrote "abc" Jira changed from Fast- to Dev-Mode (cause of "b") and opened the window to create an issue (because of "c").
I also tried to block these Events through JavaScript, but this did not help too, cause the shortcuts from Jira be executed in front of my js.
Thanks,
Hendrik.
Hello
I've faced the same issue and I fixed this problem by listening the keypress events in the contenteditable element and stopping the event propagation. Example:
{code}
contentEditableElement.onkeypress = (evt) => {
evt.stopPropagation()
}
{code}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.