Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Disabling short cut keys in a textarea

I have a new IssueTabpanel that displays contents that can be edited and saved by the user. I am using a div element with ContentEditable=True. Everything works fine except the fact that when the user edits the content by typing text, the JIRA shortcut keys get activated and user is unable to edit eg: on clicking "a", "assign user" tab opens up. 

I tried disabling all shortcut keys but that made it impossible to type"a" at all. My requirement is for the user to type in any letter without activating any shortcut.

I see a lot of examples for disabling one key, but my requirement is to disable all shortcuts but only withing that div element. Appreciate your help on this.

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jeideep Ramamoorthy Renganathan June 10, 2015

If it is of any help to someone, I started using CKEditor and it seems to work fine.

0 votes
Jeideep Ramamoorthy Renganathan June 10, 2015

To clarify a bit more...The ideal solution for me would be to reuse the editable text area that comes up in the "Description" field of an issue. Can someone pls point me in the direction of any documentation for reusing it in the IssueTabPanel.

TAGS
AUG Leaders

Atlassian Community Events