To use wp_editor() you’ll need to replace your textarea tag with the output from wp_editor() like so:
case 'textarea':
wp_editor($meta, $field['id']);
echo '<br /><span class="description">'.$field['desc'].'</span>';
break;
You don’t need to echo wp_editor() since it does it automatically. You can pass an array of settings as a 3rd argument to configure it’s behaviour. More info here:
Related Posts:
- Post custom metabox textarea using wp_editor
- Modifying the main editor priority
- wp_editor in metabox not working
- Convert textarea with wp_editor
- Using WYSIWYG In custom meta boxes
- Visual/Text tabs in wp editor Not Showing
- How to use MarkDown in a custom textarea field?
- wp_editor loses data, perhaps an html_entity_decode problem?
- Migrating from metaboxes to wp_editor()
- wp_editor metabox does not output the saved html format
- Add a Meta Box for uploading a SECOND Featured Image?
- Remove the Featured Image Meta Box
- Remove the Yoast SEO Post Metabox [closed]
- Sample code for validating custom metabox?
- How to add a class to meta box
- Use meta box drag and drop to order items independently
- Add Meta box Befoure Post Title
- Tinymce/WordPress is removing all line-breaks?
- Editing the Default Links like “Site Admin” in the Sidebar Meta Section?
- Editing Screen: Make Update or Publish Button Follow The Page
- Custom “Publish” / “Update” button &
- Why can’t I hook into save_posts after admin_init?
- Meta Boxes in Front End Post Submission Form
- Custom meta box shown when template is chosen [duplicate]
- How to make a meta box field a requirement
- How to make multicheck for post/page meta box
- Adding uploaded images to editor from metabox instead of default popup uploader
- Choosing a default page tempate (Classic => Gutenberg)
- How to remove the RichText Meta Box
- wp_editor in add_meta_boxes does not show gallery
- Add character count to custom metabox
- Update caption for metabox gallery images
- Metabox of one post influence setting on other
- datetime_timestamp shows numbers only? need in date and time
- Custom Metabox with Ajax in Edit Post – Stuck
- Post.php – Conditional statements for new post and edit post
- How to generate a featured image from a video embeded in a metabox
- I’m confused about URL sanitization in meta boxes
- unable to save post meta on single field with multiple selects
- Meta box io oembed returns list not array
- Add Slug Metabox to posts for contributors
- Hide meta box based on post format
- How to verify meta box is registered in Unit Testing?
- Add a custom field to top attribute in WooCommerce
- WPAlchemy: How to output values?
- Select box saves but doesn’t update value in admin
- save_post not working with attachments
- How to get meta box values – WP tuts tutorial
- retrieve meta key when checkbox is used
- Add Meta Box not showing on New Post – Custom meta box not showing
- Change Metabox Title
- Show how many images are attached to a post/page on compose page
- Metabox context for page post type
- Show Meta Box On Specific Page Template
- On click hide group of metabox, similar to screen options checkbox?
- Adding meta box without add_meta_box – is this bad?
- How to make a stand-alone button to the post edit view
- saving data entered into a Metabox into an array? for use with for/each output.
- Cusotm MetaBox content not getting saved
- How to get the meta box name and value
- My custom write panels won’t save data. What am I missing?
- How to position user meta data field
- How to create a button click counter meta box?
- meta box & callback function
- $_GET & $post_ID
- get_post_meta as a list for drop down search filter
- add_post_meta | update_post_meta | Via the frontend
- MetaBox with Editor instead of textarea – html not saved [closed]
- Use meta boxes inside an archive page template for Woocommerce
- multi custom fields and taxonomy search
- conditionally echo in meta box data loop
- Front end post and upload file, image for users without plugin
- Meta Box multi checkbox in template
- remove a single post_meta
- Dynamic number of fields in a meta box
- How to make a metabox that contains link categories?
- Echo 2 values from one key in Array with get_post_custom
- meta box pop up upload button wont work
- Meta Box – Javascript Datatable
- Metabox on a custom page – How to include the appropriate default scripts and styles?
- custom metabox nonce verification fails
- Extensible add_meta_box with apply filters
- use post meta in add_meta_boxes action
- Generating image sizes when uploading through wp.media
- Why is the text displaying, but not the textarea field itself?
- add_post_meta not saved
- Set post title to same value as a tow meta box
- add_post_meta Adds post meta but the value is blank
- Best practices for meta box placement?
- Echo order box (in pages)
- Meta boxes not showing on custom post type. Blank page?
- Tags meta box don’t show when creating a new post type
- Setting Event to Expire Using Custom Metabox
- Drop down menu’s not saving using Custom Meta Boxs in WordPress
- Remove Title, Editor and Meta Box Support Based on Post Formats
- Custom select box meta field
- Metadata in loops
- Saving an upload media meta box field
- Conditonally check if Custom Meta Box has input
- My meta box don’t want to save value