diff --git a/CoreCms.Net.Web.Admin/wwwroot/lib/custom/js/main.js b/CoreCms.Net.Web.Admin/wwwroot/lib/custom/js/main.js index 13a4186..eecea6d 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/lib/custom/js/main.js +++ b/CoreCms.Net.Web.Admin/wwwroot/lib/custom/js/main.js @@ -915,7 +915,7 @@ Vue.component('layout-config', { area: ['800px', '550px'], id: 'LAY-app-CoreCmsCommon-GetGood', success: function (layero, index) { - layui.view(this.id).render('common/getGood', null).done(function () { }); + layui.view(this.id).render('common/getGoodList', null).done(function () { }); } }); }, diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/content/article/articles/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/content/article/articles/create.html index 454b761..bb47309 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/content/article/articles/create.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/content/article/articles/create.html @@ -136,6 +136,28 @@ .create(document.querySelector('#editor'), { language: 'zh-cn', + mediaEmbed: { + providers: [ + { + name: 'myprovider', + url: [ + /^.*/ + ], + html: match => { + //获取媒体url + const input = match['input']; + return ( + '