Skip Navigation

[Resolved] Gutenberg Editor Integration for fields

This thread is resolved. Here is a description of the problem and solution.

Problem:
Is it possible to have a WYSIWYG-type field that is edited using the Blocks editor instead of the normal TinyMCE editor?

Solution:
No, but it has been requested.

You can add your voice to the request here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Author
Posts
#1235500

I created a taxonomy called "Location"

I created a Term field called "Country Details" - this is a WYSIWYG field

I use a shortcode in functions.php to insert the term field country details in the backend of my location archives where I enter the appropriate text for the Location.

Here is the front end of my Location archive - hidden link

As you can see the contents of the Country Details WYSIWYG field displays below the gallery.

My Question:

Is there a way to make the WYSIWYG into a WordPress Gutenberg editor? I really need the Gutenberg functionality to make the text on the location archive pages consistent with the other content on my site.

NOTE: I am using Elementor for most of the site - in case that makes it any easier.
Also - if there is a more elegant way to accomplish all of this let me know - I see you have a new block editor which I have not had a chance to play around with yet.

Thanks

PS - here is the code you gave me for my functions.php file

/**
* Adds shortcode for Toolset Locations Archive backend
*/

add_shortcode( 'taxonomy', function( $atts ){

global $wp_query;
$tax = $wp_query->get_queried_object();

if ( isset( $atts['field'] ) ) {
$content = get_term_meta( $tax->term_id, $atts['field'], true );
} else {
$content = "";
}

return $content;
});

#1235559

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Chris

There isn't such an option, I'm afraid.

The intention of the Toolset Blocks plugin (currently only in beta) is aimed at making a page builder redundant as you will be able to design the site entirely with Gutenberg, but there is currently no such facility to design an individual field with the Blocks editor.

You are not the first to ask about it, though, and it would help pushing for such a field if you submitted a request at https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/.

To be clear, you would be asking for an equivalent to the WYSIWYG field that you can enter content using the Blocks editor instead of the TinyMCE editor.

#1236379

My issue is resolved now. Thank you!

#1367875

I really need this too!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.