سؤال

Everytime I'm putting HTML tags I need to wrap into a new element. I remember you can do this on Dreamweaver just inserting an element when you select something. Is there a way to do this with sublime text?

هل كانت مفيدة؟

المحلول

Select the text you want to wrap, and hit AltShiftW. It will initially be wrapped in <p> tags, but you can just type the tag you want and the tags will automatically change.

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top