Wrap Tag functionality

Hi,
Is there a function available when coding to “Wrap” a tag around a set of code, this would be similar to Dreamweaver’s CNTRL-T function to Wrap, Insert or Edit the currently selected element.
Thanks.
image

No, there is no such an option available. Can you explain in what cases would such an option be useful?

OK, Thank you. As one example, I’m coding a form & there are a number of separate form elements that should be grouped together so that can be identified as 1 unit, so that I can select them in the DOM panel, So I generally would Wrap a series of elements together as unit using a DIV, Span or other semantic element Article etc. - Form Label, Selects, Inputs, Btns etc all Wrapped as 1 unit in A Div Tag for purposes of providing an ID.
That’s one example. This is something I find I use quite a bit.

I was kind of interested in the same thing. I’m always wrapping around things so that I can control them with show or hide functions. But I have to type which produces So then I have to copy/cut the and move it to the end of the code I want to wrap. Would be nice to just highlight code and say wrap. Would save a lot of time!

Added a new action to the editor which will be available in the next update. Pressing CTRL/CMD+T will show a prompt where you can insert an emmet abbreviation like section.demo which will then wrap the selection like <section class="demo">{Selection}<section>.

7 Likes

Wow! Now that’s service!!! :+1: I very much so appreciate the teams attentiveness. In all of my years dealing with software & various companies making requests I have simply never received a resolution as accommodating as that. - If this were school, the teacher would be handing out little scratch & sniff stickers that smell like apples to say Good Job! Well Done! :clap:

Thank You Very Much.

1 Like

The functionality works perfectly, that is excellent.