Sublime Forum

How to refactor a new div containing existing elements

#1

Any way to highlight existing code and then wrap an element around it, for example add a div wrapper around some existing markup?

0 Likes

#2

If I understand you correctly, you are looking for “Wrap Selection With Tag” command which can be found under Edit > Tag menu.

0 Likes