Keyboard shortcuts in Web Author

Hi, for desktop oXygen it's easy to create actions in framework and assign them to keyboard shortcuts. Is this possible for Web Author as well? I've read documentation but I haven't noticed such possibility. Many thanks in advance, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------

Hello, If you assign a shortcut to the action in the framework using the Document Type Configuration dialog box [1], the shortcut will be used by Web Author as well. For example, the "Bold" action from the default DITA framework has the shortcut Ctrl+B or (Cmd+B on Mac). Web Author also supports adding shortcuts to actions implemented in JS [2], [3] - you just have to pass the shortcut to the constructor of the base class. Best, Cristian [1] https://www.oxygenxml.com/doc/versions/20.1/ug-editor/topics/the-action-dial... [2] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/20.1.0.1/jsdoc/s... [3] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/20.1.0.1/jsdoc/t... On 10/16/2018 12:46 PM, Jirka Kosek wrote:
Hi,
for desktop oXygen it's easy to create actions in framework and assign them to keyboard shortcuts. Is this possible for Web Author as well? I've read documentation but I haven't noticed such possibility.
Many thanks in advance,
Jirka
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

On 16.10.2018 12:36, Cristi Talau wrote:
If you assign a shortcut to the action in the framework using the Document Type Configuration dialog box [1], the shortcut will be used by Web Author as well. For example, the "Bold" action from the default DITA framework has the shortcut Ctrl+B or (Cmd+B on Mac).
Thanks. I've tried to use Ctrl+Shift+Space as a shortcut. This has not been working in Web Author. Other shortcuts (without spacebar) are working. I suppose this is caused by interactions between browsers shortcuts and Web Author shortcuts. I will use other shortcut then, but it's pitty as Ctrl+Shift+Space is quite convenient for NBSP. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------

On 10/16/2018 2:06 PM, Jirka Kosek wrote:
On 16.10.2018 12:36, Cristi Talau wrote:
If you assign a shortcut to the action in the framework using the Document Type Configuration dialog box [1], the shortcut will be used by Web Author as well. For example, the "Bold" action from the default DITA framework has the shortcut Ctrl+B or (Cmd+B on Mac). Thanks. I've tried to use Ctrl+Shift+Space as a shortcut. This has not been working in Web Author. Other shortcuts (without spacebar) are working. I suppose this is caused by interactions between browsers shortcuts and Web Author shortcuts. I will use other shortcut then, but it's pitty as Ctrl+Shift+Space is quite convenient for NBSP.
You are right. This shortcut is not picked up by Web Author in Chrome and IE - it works in Firefox. I added an issue to investigate more. Will update this thread when we have a solution. Best, Cristian
participants (2)
-
Cristi Talau
-
Jirka Kosek