Closed Gentlemeng closed 3 years ago
[步骤]
1.按步骤下载attachment
2.将attachment文件夹放入public/tinymce/plugins
3.使用tinymce-plugins中的tinymce.min.js
4.运行项目,上传附件
[结果] plugin.min.js:39 Uncaught TypeError: m is not a function
引入 attachment_upload_handler 相关上传逻辑,报错消失。 只剩下plugin.min.js:1 Uncaught SyntaxError: Unexpected token '<' 这个错误了
[步骤]
1.按步骤下载attachment
2.将attachment文件夹放入public/tinymce/plugins
3.使用tinymce-plugins中的tinymce.min.js
4.运行项目,上传附件
[结果] plugin.min.js:39 Uncaught TypeError: m is not a function