[oXygen-user] Moving Elements in the Outline View : How To Move Nested Element Out

Radu Coravu
Wed Dec 19 01:11:30 CST 2007


Hi Eliot,

The problem with drag and drop in the outliner is that sometimes you 
want to move a node as a child of the destination and sometimes
you want to move it as a sibling of the destination. In Oxygen we 
decided that if the destination node (the node on which you drop)
is expanded the dropped node will be moved as child. If the destination 
is not expanded the dropped node will be moved as a sibling to the 
destination.
So you have to drag the "Level 3" div over the "Level 2" div, hover it 
until the "Level 2" div collapses its children and drop.

Another way to have finer control is to press the "Full tags" button 
from the Author toolbar and then drag and drop in author by dragging on 
the tag name of the div elements.
While dragging the caret will follow the mouse hover and the insertion 
will be made at caret position.

Like always, we are open to improvement suggestions.

Regards,
Radu

-- 
Radu Coravu 
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Eliot Kimber wrote:
> I'm using Author mode to edit some long HTML documents.
>
> I've run into the situation where I want to move a nested element out 
> of its wrapper element and make it a sibling of the wrapper.
>
> For example, consider this starting state:
>
> <div><h1>Level 1</h1>
>   <div><h2>Level 2</h2>
>    <div><h3>Level 3</h3></div>
>   </div>
> </div>
>
> I want to take the "Level 3" div and move it so it is the sibling 
> following the "Level 2" div.
>
> Using the outline view, I can grab the inner div but when I try to 
> move it past its containing div, nothing happens.
>
> Is this possible to do with the outline view? I haven't noticed any 
> other particularly convenient way to do this sort of structural 
> rearranging.
>
> Thanks,
>
> Eliot





More information about the oXygen-user mailing list