AdvancedCustomFields / AdvancedCustomFields/acf
5.9 beta - Convert WYSIWYG content to innerBlocks
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
I have an ACF block heavily used on a few large sites. I'd like to update the block to only use innerBlocks in place of an existing WYSIWG field. Trying to figure out a way to get_field( 'my_content' ) and pass that to the innerBlocks (or some version of that) the next time the post/page is edited.
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
Start by examining how get_field('my_content') currently provides the WYSIWYG value and how innerBlocks are handled when a post or page is edited. Determine a migration path that preserves existing content while replacing the field, and define done as existing blocks displaying correctly through innerBlocks on subsequent edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100