Проблема плагина Laravel Voyager Tinymce

#laravel #tinymce #voyager

Вопрос:

Я пытаюсь добавить плагин для Tinymce в voyager, однако я продолжаю получать сообщение о том, что не удалось загрузить плагин: шаблон с URL http://domain/admin/plugins/template/plugin.js сеть::ОШИБКА 404 (Не найдена)

Я пытался разместить папку плагинов в общедоступной или в общедоступной папке tcg поставщика, но ничего не получилось. Я также пытался загружать плагины извне, но все равно безуспешно.

Может кто-нибудь, пожалуйста, помочь, спасибо.

 function tinymce_init_callback(editor) {  console.log('Init!');  editor.remove();  editor = null;   tinymce.init({  menubar: false,  selector: 'textarea.richTextBox',  skin_url: $('meta[name="assets-path"]').attr('content') '?path=js/skins/voyager',  min_height: 600,  resize: 'vertical',  plugins: 'link, image, code, table, textcolor, lists, template',  extended_valid_elements : 'input[id|name|value|type|class|style|required|placeholder|autocomplete|onclick]',  file_browser_callback: function(field_name, url, type, win) {  if(type =='image'){  $('#upload_file').trigger('click');  }  },  toolbar: 'styleselect bold italic underline | forecolor backcolor | alignleft aligncenter alignright | bullist numlist outdent indent | link image table | code',  convert_urls: false,  image_caption: true,  image_title: true,  // external_plugins: {  // 'link': '/tinymce/plugins/link/plugin.js',  // 'image': '/tinymce/plugins/image/plugin.js',  // 'code': '/tinymce/plugins/code/plugin.js',  // 'table': '/tinymce/plugins/table/plugin.js',  // 'textcolor': '/tinymce/plugins/textcolor/plugin.js',  // 'lists': '/tinymce/plugins/lists/plugin.js',  // 'template': '/tinymce/plugins/template/plugin.js',  // }   }); }