0
0
Wordpressframework~10 mins

Gutenberg block editor basics in Wordpress - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - Gutenberg block editor basics
Open Post/Page Editor
Click + to Add Block
Select Block Type
Block Inserted in Content
Edit Block Content
Save or Publish Post/Page
This flow shows how you open the editor, add a block, edit it, and save your content.
Execution Sample
Wordpress
1. Click '+' button
2. Choose 'Paragraph' block
3. Type text inside block
4. Click 'Save' button
This sequence adds a paragraph block, types text, and saves the post.
Execution Table
StepActionEditor StateBlock Added/EditedResult
1Open editorEmpty content or existing content loadedNo block added yetEditor ready for editing
2Click '+' to add blockShows block inserter panelNo block added yetBlock inserter visible
3Select 'Paragraph' blockBlock inserter closesParagraph block inserted at cursorBlank paragraph block appears
4Type 'Hello World!'Paragraph block content updatedParagraph block text setText visible inside block
5Click 'Save'Content saved to databaseAll blocks savedPost updated with new content
6Exit editorEditor closesContent remains savedPost ready for viewing
💡 User finishes editing and saves content, editor closes
Variable Tracker
VariableStartAfter Step 3After Step 4After Step 5Final
Content"""<p></p>""<p>Hello World!</p>""<p>Hello World!</p>""<p>Hello World!</p>"
Block Inserter Visiblefalsetruefalsefalsefalse
Editor Opentruetruetruetruefalse
Key Moments - 3 Insights
Why does the block inserter panel close after selecting a block?
After selecting a block (see Step 3 in execution_table), the inserter closes to show the block inserted in the content area for editing.
What happens if you type text before adding a block?
You cannot type text before adding a block because the editor requires a block to hold content. See Step 3 and 4 where the paragraph block is inserted first.
Does saving immediately publish the post?
Saving updates the post content but does not necessarily publish it. Publishing is a separate action. Step 5 shows content saved, but publishing depends on post status.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, what is the editor state after Step 2?
AParagraph block inserted
BBlock inserter panel is visible
CContent saved to database
DEditor closed
💡 Hint
Check the 'Editor State' column for Step 2 in execution_table
At which step does the paragraph block get inserted into the content?
AStep 4
BStep 1
CStep 3
DStep 5
💡 Hint
Look at the 'Block Added/Edited' column in execution_table
If you typed text before adding a block, how would the variable 'Content' change after Step 3?
AIt would remain empty
BIt would contain the typed text
CIt would contain a blank paragraph block
DIt would cause an error
💡 Hint
Refer to key_moments about typing text before adding a block and variable_tracker for 'Content'
Concept Snapshot
Gutenberg block editor basics:
- Click '+' to add a block
- Choose block type (e.g., Paragraph)
- Edit block content directly
- Save or publish your post
Blocks are content containers making editing flexible and visual.
Full Transcript
The Gutenberg block editor lets you build content by adding blocks. First, you open the editor for a post or page. Then you click the plus button to open the block inserter panel. You select a block type, like a paragraph, which inserts a blank block into your content. You type your text inside this block. When done, you click save to store your changes. The editor closes when you exit, keeping your content safe. Blocks help organize content visually and make editing easier.