s3rgiosan.com
Using RichText Outside a Block in Gutenberg | Sérgio Santos
RichText from @wordpress/block-editor is built to live inside a block’s edit function. Drop it into InspectorControls or a Modal and it half-works: the field renders and accepts input, but the formatting toolbar never appears. Three things are wrong, each with a small fix. Format fills route to the wrong slot RichText registers its format buttons […]
Leggi l'articolo su s3rgiosan.com