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
@@ -87,7 +87,7 @@ test('front submit paid resources use the reference modal editor and compact lis
assert.match(pay, /class="hidden-input"/);
assert.doesNotMatch(pay, /data-pay-download-upload|data-pay-download-tpl/);
['url', 'extract_code', 'copy_key', 'copy_val', 'label', 'class'].forEach((field) => {
['url', 'attachment_id', 'extract_code', 'copy_key', 'copy_val', 'label', 'class'].forEach((field) => {
assert.match(downloads, new RegExp(`['"]${field}['"]`));
assert.match(model, new RegExp(`['"]${field}['"]`));
});