Question

I'm trying to convert my sites to Gutenberg. I like it!!

But how do I make it possible to make category-descriptions using the new editor?

Gutenberg editor in category description

Was it helpful?

Solution

This isn't possible at the moment, Gutenberg is a post editor that relies on REST API endpoints, it's not an arbitrary content area editor as TinyMCE is.

Given some modification though it could be made to work with a custom data model and be a replacement, but it's not a trivial task, and what's involved is in flux. It would be best to ask over on the Gutenberg GitHub issue tracker

OTHER TIPS

I had been able to do this, more or less, by:

  1. Creating the content and format I wanted within the Guttenberg editor in a post
  2. Switching from the visual to the code editor
  3. Copying the code across into the "Archive Intro Text" of the category using the text - not visual - editor

The update to WP 5.7 from 5.6.2 has however messed up the formating

As you can see I'm in no way competent to write code and have created for myself a lovely dead end with my workaround, but I thought the knowledge might be useful, and I for one would be very grateful if this functionality was included in future releases.

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top