~/talk

Extending WordPress using SlotFill

Talkat WordCamp US 2022 · 2022-09-09..09-11· [wordpress, javascript]
links:none on file
slides:none on file

Explains how the SlotFill extension paradigm actually wires into Gutenberg: use registerPlugin plus the hidden pluginArea to render fills into editor slots, with the SlotFillProvider moving fills into named slots. Lists 12 slots available (post status, pre‑publish panel, post‑publish panel, plugin sidebar, document settings, etc.) and notes the site editor exposes three. Demonstrates creating custom slots with createSlotFill, a dashboard widget scoped to a custom pluginArea, and a portal fallback; it works but currently renders by source order (ordering PR pending).

AI-written summary · about

  1. 0:00Introduction
  2. 0:42What is SlotFill
  3. 1:41SlotFill Components
  4. 3:14Basic SlotFill System
  5. 4:15How WordPress Extends SlotFill
  6. 6:32How SlotFill Works
  7. 7:19SlotField Components
  8. 8:41Slots
  9. 10:29MenuItem
  10. 11:30BlockSettingsMenuItem
  11. 12:37PluginSidebar
  12. 13:38MoreMenuItem
  13. 14:26DocumentSettingPan
  14. 15:06Experimental Component
  15. 15:50Available Slots
  16. 16:45Create SlotFill
  17. 18:24Fill Props
  18. 19:31Multiple Slots
  19. 19:58Custom Slot Structure
  20. 20:29Custom SlotFill
  21. 21:08Dashboard SlotFill
  22. 22:45React Portal
  23. 23:20Steal Code
  24. 24:07Questions
~/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.