feat(submit): add user media library

This commit is contained in:
kate522 committed 2026-09-04 22:53:33 +08:00
1 parent 44e165d34e
commit f3fcfe45da
23 files changed
+1321 -945

No files matched your search

-11
View File
@@ -1364,17 +1364,6 @@ _win.bd.on('click', '.switch-iframe', function () {
_this.addClass('active').siblings().removeClass('active');
});
//下载文件
_win.bd.on('click', '.file-download-btn', function () {
var _this = jQuery(this);
var id = _this.attr('data-download-file');
var nonce = _this.attr('download-nonce');
_this.attr('target', '_blank');
if (!id) return;
var href = _win.ajax_url + '?action=download_file&file=' + id + '&nonce=' + nonce;
_this.attr('target', '_blank').removeAttr('data-download-file').attr('href', href);
});
//文章古腾堡TAB
_win.bd.on('click', '.post-tab-toggle', function () {
var _this = jQuery(this);