Page 1 of 1

Keyboard Shortcut to Select Parent Element

Posted: Tue Sep 26, 2017 7:02 pm
by bpopp
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

Re: Keyboard Shortcut to Select Parent Element

Posted: Wed Sep 27, 2017 3:14 pm
by sorin_carbunaru
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