Dynamically adding WYSIWYG to metaboxes
I’ve created a custom metabox area and need to add the option of multiple metaboxes. So far I found this guide https://jeremyhixon.com/repeating-wordpress-editor/ which works absolutely perfect up until one point. When you click to add a new metabox it dynamically adds the textarea and turns it into a tinyMCE using tinymce.init({ selector: ‘#’ + contentID … Read more