-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make real dom nodes from pseudo elements #1
Comments
Есть идеи, как это делать? |
@zxqfox это уже работает но не там где надо, вот https://github.com/theprotein/protein-cloud/blob/master/server/core/builders/phantomas/postcss-plugins/postcss-make-real-elements.js |
Кажется, что это можно порулить на уровне скрипта выгрузки. |
@zxqfox главное, что это не должно быть в облаке в парсерах. Надо чтобы правильный html приезжал сразу. Все магические действия надо делать в фантоме. Это надо добавить наверное куда-то сюда https://github.com/theprotein/protein-cloud/blob/master/server/core/builders/phantomas/scripts/component.browser.js |
🔥 @zxqfox замутишь? ;) |
Постараюсь) |
@zxqfox я в тебя верю) |
Надо создавать настоящие ноды из псевдо
:before
,:after
и тд как элемент содержащего блока.block__before
.The text was updated successfully, but these errors were encountered: