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