w-shadow.com - W-Shadow.com Blog

Description: A blog about web development, software business, and WordPress

Example domain paragraphs

This 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 object that you pass to the function:

This should make the “Add Media” button appear above the editor.

Links to w-shadow.com (3)