Render Gutenberg editor like wp_editor?
-
Hi!
I want to render Gutenberg editor instead of classic editor in a taxonomy page! Now, this taxonomy (a venue), uses the old classic editor:
<div id="post-body" class="metabox-holder columns-<?php echo $columns;?>"> <div id="post-body-content"> <div id="titlediv"><?php eventorganiser_venue_title( $venue ); ?></div> <div class="postbox " id="venue_address"> <button type="button" class="handlediv eo-button-link" aria-expanded="true"> <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Location' );?></span> <span class="toggle-indicator" aria-hidden="true"></span> </button> <h3 class="hndle"><span><?php echo esc_html( $tax->labels->venue_location ); ?></span></h3> <div class="inside"><?php eventorganiser_venue_location( $venue ); ?></div> </div><!-- .postbox --> <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="venue_description postarea"> <?php wp_editor( eo_get_venue_meta( $term_id, '_description' ), 'content', array( 'textarea_name' => 'eo_venue[description]', 'dfw' => false ) ); ?> </div> </div><!-- #post-body-content --> <div id="postbox-container-1" class="postbox-container"> <?php do_meta_boxes( '', 'side', $venue ); ?> </div> <div id="postbox-container-2" class="postbox-container"> <?php do_meta_boxes( '', 'normal', $venue ); ?> <?php do_meta_boxes( '', 'advanced', $venue ); ?> </div> </div><!-- #post-body --> <br class="clear">I want to load Gutenberg and all functionallity on my venues. It’s possible?
The page I need help with: [log in to see the link]
The topic ‘Render Gutenberg editor like wp_editor?’ is closed to new replies.