SlideShare a Scribd company logo
Jonathan Bossenger
Let’s Code
Learn.WordPress.org
Developing Blocks without React!
Block Supports
2
👋🏽
Welcome!
As you join, please make sure you have your local
development environment ready:
• A local WordPress installation
• A code editor like VSCode or Sublime
• Version 0.0.4 of the plugin code
• https://github.com/jonathanbossenger/wp-
learn-javascript/releases/download/0.0.4/wp-
learn-javascript.0.0.4.zip
Then, let everyone know in the chat where you’re
joining us from…
Hello!
○ My name is Jonathan Bossenger
○ From Cape Town, South Africa
○ Ex-developer turned code instructor
○ Sponsored contributor at Automattic
○ @jon_bossenger in Twitter
Learn.WordPress.org
Let's code!
Developing Blocks
without React!
Jonathan Bossenger
Announcements
○ Welcome!
○ We’ll be presenting in focus mode, but please consider enabling your video.
○ You are welcome to ask questions.
○ You are welcome to post questions in the chat, or unmute to ask questions.
Announcements
○ Please consider taking the Learn WordPress Learner Survey
• https://learn.wordpress.org/individual-learner-survey/
○ Make sure your local install is ready
• https://github.com/jonathanbossenger/wp-learn-
javascript/releases/download/0.0.4/wp-learn-javascript.0.0.4.zip
○ If I am going too fast, please let me know!
○ We will be posting this session to https://wordpress.tv/ afterwards
○ For more WordPress focused content please visit https://learn.wordpress.org/
Learning Outcomes
1. Review of the current block code block code
2. Introduction to Block Schema
3. Overview of Block Supports
4. Learn how to add blocks supports via the block.json file
Objectives 1
1. Review the current block code
2. Add the $schema key to the block.json and learn how to use it
3. Add support for block colors (background and text)
4. Add support for block padding (via spacing)
5. Set a default block background color via the block attributes
7
8
Let’s code.
Resources
○ https://learn.wordpress.org/individual-learner-survey/
○ https://github.com/jonathanbossenger/wp-learn-javascript/releases/download/0.0.4/wp-learn-
javascript.0.0.4.zip
○ https://schemas.wp.org/trunk/block.json
○ https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/block-supports-in-static-
blocks/
○ https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/

More Related Content

PPTX
Debugging in WordPress
PPTX
Interacting with the WP REST API
PPTX
WordPress Plugin Security
PPTX
Let's code: custom content & custom capabilities
PPTX
Let's code: developing WordPress User Roles and Capabilities
PPTX
Preventing Common Security Vulnerabilities
PPTX
Preventing CSRF Security Vulnerabilities.pptx
PPTX
Using the WP REST API
Debugging in WordPress
Interacting with the WP REST API
WordPress Plugin Security
Let's code: custom content & custom capabilities
Let's code: developing WordPress User Roles and Capabilities
Preventing Common Security Vulnerabilities
Preventing CSRF Security Vulnerabilities.pptx
Using the WP REST API

Similar to Developing Blocks without React - Block Supports.pptx (20)

PPTX
Let's code: extending the WP REST API - modifying responses
PPTX
WP REST API Authentication, custom fields and updating resources
PPTX
Testing plugins for PHP 8
PPTX
Help test WordPress - developer edition
PPTX
Developing for multisite
PPTX
Let's code: WordPress multisite experiments
PPTX
Let's code! Converting a Shortcode into a Block
PPTX
Using Block Patterns in your Block Theme.pptx
PPTX
Developing Blocks without React - Part 1
PPTX
Developing Blocks without React - Controls.pptx
PPTX
Global Styles Variations in Block Themes.pptx
PPTX
Internationalisation in Block Themes.pptx
PPTX
WordPress Coding Standards
PPTX
Developing Blocks without React - Attributes.pptx
PPTX
Developing Blocks without React - Part 2.pptx
PPTX
Developing Blocks without React - Part 2
PPTX
Creating Custom Templates and Template Parts
PPTX
Common WordPress APIs - Dashboard Widgets
PPTX
Common WordPress APIs_ Internationalization
PPTX
Let's code! Creating your Primary Templates in the Editor.pptx
Let's code: extending the WP REST API - modifying responses
WP REST API Authentication, custom fields and updating resources
Testing plugins for PHP 8
Help test WordPress - developer edition
Developing for multisite
Let's code: WordPress multisite experiments
Let's code! Converting a Shortcode into a Block
Using Block Patterns in your Block Theme.pptx
Developing Blocks without React - Part 1
Developing Blocks without React - Controls.pptx
Global Styles Variations in Block Themes.pptx
Internationalisation in Block Themes.pptx
WordPress Coding Standards
Developing Blocks without React - Attributes.pptx
Developing Blocks without React - Part 2.pptx
Developing Blocks without React - Part 2
Creating Custom Templates and Template Parts
Common WordPress APIs - Dashboard Widgets
Common WordPress APIs_ Internationalization
Let's code! Creating your Primary Templates in the Editor.pptx
Ad

More from Jonathan Bossenger (20)

PPTX
New WordPress Developer APIs The Interactivity API
PPTX
The WordPress HTML API
PPTX
The WordPress Create Block tool
PPTX
PHP compatibility testing with PHPCompatibilityWP
PPTX
Common WordPress APIs_ Settings API
PPTX
Common WordPress APIs - Options API
PPTX
Common WordPress APIs_ HTTP API.pptx
PPTX
Common WordPress APIs: Metadata
PPTX
What’s new for developers_ (August 2023).pptx
PPTX
Testing your plugins for PHP version compatibility
PPTX
Common WordPress APIs_ Global Variables
PPTX
Testing WordPress 6.3 - Developer edition
PPTX
Common WordPress APIs: Responsive Images
PPTX
Custom Tables in WordPress
PPTX
The WordPress Database
PPTX
Managing a WordPress Multisite Network
PPTX
Introduction to WordPress Multisite Networks
PPTX
Custom Post Types and Capabilities.pptx
PPTX
Developing WordPress User Roles and Capabilities
PPTX
Creating a WordPress multisite network
New WordPress Developer APIs The Interactivity API
The WordPress HTML API
The WordPress Create Block tool
PHP compatibility testing with PHPCompatibilityWP
Common WordPress APIs_ Settings API
Common WordPress APIs - Options API
Common WordPress APIs_ HTTP API.pptx
Common WordPress APIs: Metadata
What’s new for developers_ (August 2023).pptx
Testing your plugins for PHP version compatibility
Common WordPress APIs_ Global Variables
Testing WordPress 6.3 - Developer edition
Common WordPress APIs: Responsive Images
Custom Tables in WordPress
The WordPress Database
Managing a WordPress Multisite Network
Introduction to WordPress Multisite Networks
Custom Post Types and Capabilities.pptx
Developing WordPress User Roles and Capabilities
Creating a WordPress multisite network
Ad

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Encapsulation_ Review paper, used for researhc scholars
Building Integrated photovoltaic BIPV_UPV.pdf
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Programs and apps: productivity, graphics, security and other tools
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Chapter 3 Spatial Domain Image Processing.pdf
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Digital-Transformation-Roadmap-for-Companies.pptx

Developing Blocks without React - Block Supports.pptx

  • 2. 2 👋🏽 Welcome! As you join, please make sure you have your local development environment ready: • A local WordPress installation • A code editor like VSCode or Sublime • Version 0.0.4 of the plugin code • https://github.com/jonathanbossenger/wp- learn-javascript/releases/download/0.0.4/wp- learn-javascript.0.0.4.zip Then, let everyone know in the chat where you’re joining us from… Hello! ○ My name is Jonathan Bossenger ○ From Cape Town, South Africa ○ Ex-developer turned code instructor ○ Sponsored contributor at Automattic ○ @jon_bossenger in Twitter
  • 4. Announcements ○ Welcome! ○ We’ll be presenting in focus mode, but please consider enabling your video. ○ You are welcome to ask questions. ○ You are welcome to post questions in the chat, or unmute to ask questions.
  • 5. Announcements ○ Please consider taking the Learn WordPress Learner Survey • https://learn.wordpress.org/individual-learner-survey/ ○ Make sure your local install is ready • https://github.com/jonathanbossenger/wp-learn- javascript/releases/download/0.0.4/wp-learn-javascript.0.0.4.zip ○ If I am going too fast, please let me know! ○ We will be posting this session to https://wordpress.tv/ afterwards ○ For more WordPress focused content please visit https://learn.wordpress.org/
  • 6. Learning Outcomes 1. Review of the current block code block code 2. Introduction to Block Schema 3. Overview of Block Supports 4. Learn how to add blocks supports via the block.json file
  • 7. Objectives 1 1. Review the current block code 2. Add the $schema key to the block.json and learn how to use it 3. Add support for block colors (background and text) 4. Add support for block padding (via spacing) 5. Set a default block background color via the block attributes 7
  • 9. Resources ○ https://learn.wordpress.org/individual-learner-survey/ ○ https://github.com/jonathanbossenger/wp-learn-javascript/releases/download/0.0.4/wp-learn- javascript.0.0.4.zip ○ https://schemas.wp.org/trunk/block.json ○ https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/block-supports-in-static- blocks/ ○ https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/

Editor's Notes

  • #2: TITLE SLIDE: Make a copy of this presentation to your Google Drive, and edit to replace with your details.