AdvancedCustomFields / AdvancedCustomFields/acf
Gutenberg block - example data as placeholder
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I've been using acf blocks recently and I'm having two problems.
-
How do I insert an image as a block preview in that little window that pops up when I hover the mouse over? Maybe i can force this window to a different size for a given block?
-
I would like the sample content for a given block (example data) to be displayed as placeholders when a given field is not completed. The currently rendered block displays sample content on the page when the field is not completed. I would like it not to appear on my website, but only in the editor.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reviewing the Gutenberg block and ACF block example/preview entry points, then separate the hover-preview image request from the editor-only placeholder request. Done should be defined as sample content appearing in the editor while not being rendered on the public page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- content, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100