Edit more than one HTML element

When editing an HTML element (CMD-H) it is often useful to duplicate the code in the editor itself and create a sibling to be edited. Eg for nav elements and lists.

The editor does not allow this and says “Syntax error - or - You’re editing more than one HTML element!”.

It would be very useful for my workflow if the editor would accept a series of (closed) elements and insert them into the DOM on closing - like a DocumentFragment. As of now, I have to duplicate elements in the tree view before.

What do others think?

Siemen

1 Like

I just requested the same thing but for different reasons. Plus one.

What are your reasons?

Have you had any response on your request / has it been rejected? I just posted here and haven’t heard anything. Would still like the feature though…

– Siemen