Support

Account

Home Forums Gutenberg Changing InnerBlock Content Programattically

Helping

Changing InnerBlock Content Programattically

    • rblythe

    • February 11, 2021 at 9:21 am

    I am creating an audio transcription block. Here’s an outline of the workflow.

    1. Accept an audio file to upload.
    2. Once uploaded, the file is sent to AWS Transcribe
    3. Once the transcription is complete, store the results in the WP DB.
    4. Populate InnerBlocks content with transcription so the user can clean up any transcription errors and format the text.

    I’m fully aware of how to create an initial <InnerBlocks/> template but how can I change/override the contents of <InnerBlocks/> once the page has loaded? Is ACF a viable option for this type of workflow?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.