Author mode, refactoring, splitting element

Are you missing a feature? Request its implementation here.
ra0543
Posts: 80
Joined: Wed Jan 14, 2009 12:50 pm

Author mode, refactoring, splitting element

Post by ra0543 »

Can you consider changing the refactoring 'split element' function in author mode so that it does exactly the same thing as it does in text mode, i.e. splits the current element into two adjacent siblings of the same type rather than the lowest ancestor block element?

In author mode, it is often annoying that the split level is determined by the CSS block level rather than at the level of the cursor position, i.e. when wanting to split an inline element (e.g. to then insert something between the two new siblings). That said, a configurable splitting command would be good.

So it might be best to have 'split current element' as the basic command (and the one brought up by the content completion system), and also to have a second command 'split element ...' that brings up a dialog box to allow the splitting at any higher level (which could then be selected by the user).
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Author mode, refactoring, splitting element

Post by george »

Thank you for your request.
I logged this on our issue tracking system and we will look into adding also the possibility to split the current element no matter if that is an inline or a block.

Best Regards,
George
George Cristian Bina
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Author mode, refactoring, splitting element

Post by sorin_ristache »

Hello,

We changed the Split Element action so that it splits the current element into two siblings of the same type. It will be available in the next version of Oxygen.


Regards,
Sorin
Post Reply