Keyboard Shortcut to Select Parent Element

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
bpopp
Posts: 37
Joined: Tue Nov 30, 2010 7:34 pm

Keyboard Shortcut to Select Parent Element

Post by bpopp » Tue Sep 26, 2017 7:02 pm

Within the Authoring view, is there any way to go back up to the parent element to continue authoring? So, for example, I'm in a para, I type some text, I hit enter to split it into a ul, I start adding list items. Is there any way to get back to the parent 'p' element using only the keyboard? I've always hated having to go back to the outline with the mouse to continue adding content.

Thanks,

Brian

sorin_carbunaru
Site Admin
Posts: 253
Joined: Mon May 09, 2016 9:37 am

Re: Keyboard Shortcut to Select Parent Element

Post by sorin_carbunaru » Wed Sep 27, 2017 3:14 pm

Hello Brian,

We do have something in oXygen... There is an action for selecting the entire parent of the current element (right click in the Author page -> Select -> Parent), and you can assign a shortcut to it from Options -> Menu Shortcut Keys. But for your scenario you would have to call it twice to get to the paragraph, because the parent of the list item is the list element itself, and then its parent is the paragraph. Then you can just press the right and left arrow keys to get to the end of your paragraph. I don't know if this is exactly what you want...

Another option would be to try creating your own Author action based on our MoveCaretOperation (see https://www.oxygenxml.com/doc/versions/ ... tions.html), and assign it a keyboard shortcut.

Best wishes,
Sorin Carbunaru
oXygen XML

Post Reply