Hello
changing to internal embedding improved the situation, as I have now the plugins button that appear before the tinymce bar (like Add Media, or “Add shortcode” from Ultimate shortcode).
Nevertheless, the tinymce bar in the editor is stil “plain vanilla”.
I made a fresh install, with a wordpress standard theme (2019) and only Elementor and a very simple plugin adding formatting buttons in the bar, and the buttons do not show up.
Here is the code in the plugin :
add_action( 'init', 'lln_learnar_buttons' );
function lln_learnar_buttons() {
add_filter( 'mce_external_plugins', 'lln_learnar_add_buttons' );
add_filter( 'mce_buttons', 'lln_learnar_register_buttons' );
}
function lln_learnar_add_buttons( $plugin_array ) {
$plugin_array['lln_learnar'] = plugins_url().'/'.dirname( plugin_basename( __FILE__ ) ).'/span_rtl/editor_plugin.js';
return $plugin_array;
}
function lln_learnar_register_buttons( $buttons ) {
array_push( $buttons, 'ar_marking' , 'forvo' );
return $buttons;
}
As it works perfectly in classic editor mode, I’m sure the files are available.. I also checked in the console and I have no errors, just some notices, linked to the tinymce.js, not to my files.