Home › Forums › Gutenberg › ACF 5.8 blocks – styles › Reply To: ACF 5.8 blocks – styles
You can also add an editor stylesheet using wordpress’s existing functionality
https://codex.wordpress.org/Editor_Style
so what I’d did was setup my sass build script to exported my block specific css to an editor-styles.css as well as the main stylesheet.
Its a bit fiddler to make sure that your blocks’ css is self contained but it works pretty well and beats maintaining two different stylesheets
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.