How To Add the “Add Media” Button When Using wp.editor.initialize()
February 17th, 2023This is just a quick note for anyone who runs into the same issue. If you use wp.editor.initialize() to dynamically create an instance of the WordPress visual editor, the editor will be missing the “Add Media” button by default. To fix that, you need to do two things: 1. Add mediaButtons: true to the setting […]
Continue Reading...