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

Some Block Bindings are only editable if provided with a default #63

Closed
bacoords opened this issue Aug 27, 2024 · 0 comments · Fixed by #72
Closed

Some Block Bindings are only editable if provided with a default #63

bacoords opened this issue Aug 27, 2024 · 0 comments · Fixed by #72

Comments

@bacoords
Copy link
Collaborator

FYI - This may be a bug we report upstream to Gutenberg, but with the Block Bindings API, you can't use an empty attribute in the template. All fields have to have some content initially to be editable. So for example, if you don't add alt text to your image block in the template, the alt text isn't editable in the single post view. If you don't have a link destination in a button block, the link destination is not editable.

We can seed some default content, but it seems a larger issue, like when you want to just show placeholders or when you just want the data to be empty!

@bacoords bacoords changed the title Block Bindings are only editable if provided with a default Some Block Bindings are only editable if provided with a default Aug 27, 2024
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

Successfully merging a pull request may close this issue.

1 participant