Inline RichText “bits” — small dynamic tokens inside paragraphs and headings — plus a shared registry, render walker, and editor toolbar.
Package: @prc/block-bits
Source: plugins/prc-block-bits/
Editors insert built-in bits (icon, copyright, shareable text) from the RichText toolbar. Developers register third-party bits with PHP and optional JS overlays. Bits are not block bindings and not Gutenberg blocks.
Choose a path
Who are you?
Start with the guide that matches your work.
Documentation
For editors
- User guide — toolbar picker and Settings → Block Bits
For maintainers
- Architecture — bits vs bindings, PHP/JS APIs, walker
- REST API —
prc-block-bits/v1/settings
Related
- Plugin README — full
register_block_bit()schema - Plugin AGENTS.md — third-party registration checklist
- Icon library — sprite stack for icon-span