-
Notifications
You must be signed in to change notification settings - Fork 246
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
Conflict with Yoast #857
Comments
I'm having numerous additional issues when yoast is activated. Reorder, etc It seems like maybe a lodash conflict? |
Update. If yoast is activated, carbonfields loads the gutenberg javascripts, and not the classic javascripts. |
Carbonfields is using wp_script_is('wp-element') to check if it is being loaded in the gutenberg context or the classic editor context. Yoast is enqueueing wp-element for its own use, so carbonfields is loading javascripts for the incorrect context. |
@filipac this patch fixed my issues, perhaps it will help you? |
Version
Expected Behavior
When Yoast seo plugin is active, I should be able to delete, close or duplicate a complex section.
Actual Behavior
When clicking any button, for example the duplicate button on the section, you get an JS error.
Container definition
Steps to Reproduce the Problem
Comments
Disabling Yoast seo fixes the bug.
The text was updated successfully, but these errors were encountered: