shortcode – Multiple TinyMCE buttons with one js file

Question

when add button, i used:

$plugin_array['ghichu2'] = get_template_directory_uri() . '/js/cfx_tinymce.js';
$plugin_array['footnotes'] =  get_template_directory_uri() . '/js/cfx_tinymce.js';

I merged all tinyMCE js code into a file, then how can I merge two $plugin_array for just one time load JS?

0
Nguyễn Minh Thanh 2 years 2021-03-21T22:13:46-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse