Gutenberg; Rich Text/HTML for Metadata Textarea Control in Back End

by jdp   Last Updated May 15, 2019 18:08 PM

I've properly registered a Gutenberg block that consists of a textarea control to store metadata for a post. In the old days, I simply rendered a wp_editor on the edit-form-advanced hook which had full TinyMCE editing capability and stored the textarea html on the transition_post_status hook.

Inside the Gutenberg environment, using the TextareaControl component, how do I bring full editing capability into the textarea control? My basic setup only shows plain text to input into the control. I guess I could hand code the html but it seems like I should be able to used the editing toolbar to achieve this.



Related Questions


Adding button to Gutrenberg tinymce editor toolbar

Updated March 10, 2019 01:08 AM



Wordpress Visual Editor Stripping HTML Changes

Updated August 31, 2017 10:08 AM