feat(submit): add user media library

This commit is contained in:
2026-09-04 22:53:33 +08:00
parent 44e165d34e
commit f3fcfe45da
23 changed files with 1321 additions and 945 deletions
-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);