Override existing shortcut key
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 68
- Joined: Mon Jul 04, 2022 8:42 am
Override existing shortcut key
Hi Team,
I would like to override short cut key in web author.
There is a default shortcut key ALT+SHIFT+X for deleting the element tags.
we want it to be CTRL+SHIFT+X.
We tried overriding it using below code in plugin.js but its not working.
e.editor.getActionsManager().setActionShortcut('Author/DeleteElementTags','M1 M2 X');
Could you please provide the action ID for Delete element tags?
And please suggest the proper method to override the shortcut key.
Thanks & Regards
Shilpa.P
I would like to override short cut key in web author.
There is a default shortcut key ALT+SHIFT+X for deleting the element tags.
we want it to be CTRL+SHIFT+X.
We tried overriding it using below code in plugin.js but its not working.
e.editor.getActionsManager().setActionShortcut('Author/DeleteElementTags','M1 M2 X');
Could you please provide the action ID for Delete element tags?
And please suggest the proper method to override the shortcut key.
Thanks & Regards
Shilpa.P
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Override existing shortcut key
Post by cristi_talau »
Hello,
The ID is 'Author/UnwrapElement'. You can find this ID by following the instructions here: https://www.oxygenxml.com/maven/com/oxy ... ction.html
Best,
Cristian
The ID is 'Author/UnwrapElement'. You can find this ID by following the instructions here: https://www.oxygenxml.com/maven/com/oxy ... ction.html
Best,
Cristian
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service