I try to add tinyMCE editor to dynamic added elements (Loaded by VUE component), using new API in WP 4.8. And it work but it only add 5 buttons, and no Media button. I tried to use wp.editor.inicialize, but it wont pass any options that I need. So I load Default settings and resoultat is same, but now I can pass more options (some extra)
(...) let editorSettings = wp.editor.getDefaultSettings(); console.log(editorSettings); editorSettings.tinymce.height = 350; tinymce.init(editorSettings.tinymce); tinyMCE.execCommand('mceAddEditor', true, this.editorID); (...)
But what I want is to add Standard Wordpress full tinyMCE editor + Media button with WP standard settings for tinyMCE. Any ideas :) ?