~/talk

Creating a Gutenberg Block

Talkat WordCamp Atlanta 2018 · 2018-04-13..04-15· [wordpress, react]
slides:none on file

Argues Gutenberg is ready for enterprise use and describes building a real site that will ship with 40 custom Gutenberg blocks, showing a working pattern: design markup with BEM, implement React/JSX edit and save components using RichText, declare attributes to parse saved HTML, register scripts/styles and PHP-side register_block_type, and use a Node build tool like create-guten-block. Demonstrates a concrete book block, explains dependencies (WP.blocks, WP.element, i18n), notes missing features for nesting but shows the approach works for production.

AI-written summary · about

  1. 0:00Introduction to Gutenberg
  2. 12:05Shortcodes vs Gutenberg blocks
  3. 23:11Creating edit and save components
  4. 31:53Registering a Gutenberg block
  5. 40:03Loading scripts and styles
  6. 45:25Resources and next steps
  7. 48:57Q&A
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.