Keyboard Shortcut to Select Parent Element

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
bpopp
Posts: 31

Keyboard Shortcut to Select Parent Element

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: 111

Re: Keyboard Shortcut to Select Parent Element

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

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest