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

Layouts in a Flexible Content Field are broken when this plugin is active #55

Open
jenniferaslan opened this issue Dec 22, 2023 · 2 comments

Comments

@jenniferaslan
Copy link

I have this plugin installed alongside Advanced Custom Fields Pro.

When this plugin is not active, all the layouts in my Flexible Content field are editable and you can see their names:

correct editable layouts

When this plugin is active, all the layouts in my Flexible Content field become uneditable and their names are all just “Layout.”

broken uneditable layouts

When I click the down arrow at the right end of any of them, nothing happens and if I click “Add Layout” on any of them, the page refreshes and a message appears in a green box that says, “Field group updated.”

field group updated message

This happens to any Flexible Content field that I create, even in a different Field Group. This essentially makes this plugin unusable for me.

@jonpxpx
Copy link

jonpxpx commented Mar 27, 2024

@kevinruscoe Are you open to a PR for this? I found this same issue and forked for a temporary fix and it was due to the input.js being loaded on field groups when its only needed (from what I could see) when displaying the field on the post edit pages.

@kevinruscoe
Copy link
Owner

@jonpxpx of course mate, open a PR amd I'll try and get it sorted over the weekend

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

3 participants