Initialize TinyMCE editor / visual editor after AJAX insert
I have a “repeater” style field group on a custom options page. There’s an active visual editor in a hidden state, and when the user clicks “add new” the whole row is cloned. I then need to initialize the visual editor in the cloned row. My code: $(‘.repeater-add-new’).click(function(event) { event.preventDefault(); var target = $(this).data(‘repeater’); $( … Read more