Page 1 of 1

Author mode, refactoring, splitting element

Posted: Fri Dec 04, 2009 2:50 pm
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).

Re: Author mode, refactoring, splitting element

Posted: Tue Dec 08, 2009 10:07 am
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

Re: Author mode, refactoring, splitting element

Posted: Thu Apr 08, 2010 11:19 am
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