-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Let's say I have this HTML:
some kind of <a href="a">link</a> somewhere
If I do delete surronding tag dst inside "link" to delete the <a> element, that works.
If I now visually select "somewhere" and do st to surround with a tag, and enter "<span", the attributes are remembered and used for the new elemen tag:
some kind of link <span href="a">somewhere</span>
This happens agan if I surround something else. If I add some extra attributes in my new tag, they are added along with the remembered attributes.
Maybe it's related to using e.g. "cst t span" to chang the existing tag to another tag and have the attributes remain (which does sound like a feature, not a bug :) ).
Metadata
Metadata
Assignees
Labels
No labels