Refresh wp_editor instance after cloning

You may also like...

4 Responses

  1. Taha Paksu says:

    It needs a copy of a fully initialized wp_editor. If you have one, just simply clone it with $(element).clone().appendTo();

  2. Phil says:

    can you write it with clone?

    • Phil says:

      my questrion above was bad, but your code is wrong for me.(HierarchyRequestError: DOM Exception 3: A Node was inserted somewhere it doesn’t belong.)

      I have the same problem, but I don’t have idea to reinit wp_editor.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: