Build with GenerateBlocks
Create a styled GenerateBlocks V2 section.
Before you start
- EMCP Pro and a verified AI connection.
- GenerateBlocks V2 active; docs verified version 2.4.0.
- A Gutenberg draft.
Let’s do this, step by step.
Step 01
Enable and save the pack
Open Setup → Page Builders. Switch on GenerateBlocks under 2. Gutenberg block plugins. Choose Save changes. A Not detected card lists missing requirements.
Open EMCP Tools, then Page Builders. Under Gutenberg block plugins, switch on GenerateBlocks and choose Save changes. You can enable this pack independently of your standalone builder. If it is unavailable, read the requirements on its card.
Step 02
Enable the actions and reconnect
Open Setup → Tools → GenerateBlocks. Inspect read and write switches; enable the actions needed for this practice task, then Save changes and reconnect your AI app.
Now open Tools and select the GenerateBlocks tab. On a new installation these Pro tools start off, including the read tools. Enable the actions needed for this lesson, choose Save changes, and reconnect your AI app.
Step 03
Read the current blocks
Ask the AI to inspect GenerateBlocks's context, installed block schemas, and the draft's mixed block tree.
Read the draft before making changes. Keep its latest content version and block positions so edits do not overwrite newer work.
Step 04
Build with matching styles
Ask the AI to add a native container and text using supported style inputs.
GenerateBlocks V2 needs both the style settings and the matching generated CSS. The insertion tools prepare those together.
Step 05
Preserve styling during edits
For updates, retain native IDs, style objects, and compiled CSS in the complete saved markup.
A text change should not break the style connection. Keep GeneratePress theme settings separate from the block content.
Step 06
Check the native editor
Read the saved blocks and open Gutenberg. Check for invalid-content warnings, then inspect desktop and phone previews.
A working frontend does not prove the blocks remain editable. Check the native editor, spacing, links, and images before publishing. Saves on published pages can take effect immediately.
You’re done when…
The GenerateBlocks section is editable in Gutenberg, has no invalid-block warnings, and displays correctly.
Keep the reference handy.
The docs cover tool details and requirements for this lesson.
You only need the guide for the app or builder you use. Ready to build? Try an Elementor draft or use Gutenberg.
A brief becomes a real page.