Skip to content
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

Load styles if block exist on page #1202

Open
Silent2000 opened this issue Nov 15, 2023 · 0 comments
Open

Load styles if block exist on page #1202

Silent2000 opened this issue Nov 15, 2023 · 0 comments

Comments

@Silent2000
Copy link

Version

  • Carbon Fields: 3.6.2
  • WordPress: 6.4.1
  • PHP: 7.4

Expected Behavior

Please enter the expected behavior here

Actual Behavior

Please enter the actual, unexpected behavior here

Container definition

// Please add your entire container defintion here so issues
// are easy to reproduce

Steps to Reproduce the Problem

Comments

Please add any other comments here
Hi. Is is possible to load css for custom gutenberg block if this block inserted on page? I created custom gutenberg block and include css like describe here https://docs.carbonfields.net/learn/containers/gutenberg-blocks.html
But style load everytime, even block not exist on page or on all pages of site too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant