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

data-editible-field should validate against the block schema #148

Open
djay opened this issue Aug 30, 2024 · 0 comments
Open

data-editible-field should validate against the block schema #148

djay opened this issue Aug 30, 2024 · 0 comments

Comments

@djay
Copy link
Member

djay commented Aug 30, 2024

it shouldn't be possible to put fields into the block that aren't in the schema.
because all fields need to be editable in the sidebar as well.
but there also needs to be a way of easily adding custom fields into the schema

One interesting example is the teaser block. When override is set to false then the editable fields are hidden.
In this case the inline editing should be disabled?
How does hydra know?

  • maybe the block should hide them and set the schema to readonly?
  • or if fields are hidden then then inplace editing is always disabled?
    • but then it should be ok to customise hydra to only have inplace editing for some fields if you choose...

Image

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