emmet icon indicating copy to clipboard operation
emmet copied to clipboard

Не захватывает родительские элементы при разворачивании

Open NickMalt opened this issue 10 years ago • 4 comments

При вводе

<div class="content">
    .-element|bem
</div>

разворачивает вот так:

<div class="content">
    <div class=" _element"></div> 
</div>

а хотелось бы вот так:

<div class="content">
    <div class="content__element"></div>  
</div>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

NickMalt avatar Apr 21 '14 10:04 NickMalt

I think I'm also experiencing this issue. It would be very helpful for the BEM filter to detect the parent block so that you aren't limited to using it only when you can define your entire HTML structure at on go.

deimyts avatar Oct 09 '15 17:10 deimyts

same issue here

ArmorDarks avatar Oct 28 '15 07:10 ArmorDarks

It gives me pain))

nicothin avatar Mar 20 '21 14:03 nicothin

Should be fixed in current version. If not, please report editor you are using

sergeche avatar Mar 20 '21 16:03 sergeche