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

Make it possible to edit blocks without DOM node #24

Open
dulnan opened this issue Aug 12, 2024 · 0 comments
Open

Make it possible to edit blocks without DOM node #24

dulnan opened this issue Aug 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dulnan
Copy link
Collaborator

dulnan commented Aug 12, 2024

In some cases block components can't render anything (e.g. rendering a dynamic teaser list where the query yields 0 results).
Currently, they have to conditionally not render only when isEditing is false. A better approach would be to provide a built-in fallback in blökkli to instead render a placeholder. If this is not possible, it should still be possible to at least delete or edit a block via the "Structure" pane.

@dulnan dulnan added the enhancement New feature or request label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant