How to dynamically style pseudo elements in Gutenberg?

[ad_1]

Currently working on extending the `core/quote` block. I want to add more controls that control the size and positioning and content of the `::before` element used for the quote icon.

Problem is, I can’t use inline styles to style pseudo elements. And I can’t really find any documentation on next practices for adding <style> tags via Gutenberg. Any advice?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer