Not sure if this relevant question or not
Here is an example HTML block
<div
class="
ltr:ml-auto
rtl:mr-auto
relative
max-w-xs
w-full
h-full
bg-white
shadow-xl
py-4
pb-12
flex flex-col
overflow-y-auto
"
>
</div>
Is there any easy way that I can change all those class names to a single line?
Expected output:
<div class="ltr:ml-auto rtl:mr-auto relative max-w-xs w-full h-full bg-white shadow-xl py-4 pb-12 flex flex-col overflow-y-auto">
</div>
In PhpStorm or any other JetBrains IDE:
Final result:
<div class=" ltr:ml-auto rtl:mr-auto relative max-w-xs w-full h-full bg-white shadow-xl py-4 pb-12 flex flex-col overflow-y-auto"></div>
Notes:
<div class=" ltr:ml-auto
)