This commit is contained in:
2025-12-10 08:37:47 +07:00
parent 699db96d26
commit 1afcb2364e
11 changed files with 379 additions and 396 deletions

View File

@@ -21,8 +21,31 @@
labelIdle: 'Kéo thả ảnh hoặc <span class="filepond--label-action">Chọn ảnh</span>',
})
FilePond.create(document.querySelector("#image-category-icon"), {
credits: false,
allowImageCrop: false,
allowImagePreview: false,
allowMultiple: true,
labelIdle: 'Kéo thả ảnh hoặc <span class="filepond--label-action">Chọn ảnh</span>',
})
FilePond.create(document.querySelector("#image-category-avatar"), {
credits: false,
allowImageCrop: false,
allowImagePreview: false,
allowMultiple: true,
labelIdle: 'Kéo thả ảnh hoặc <span class="filepond--label-action">Chọn ảnh</span>',
})
FilePond.create(document.querySelector("#image-brand"), {
credits: false,
allowImageCrop: false,
allowImagePreview: false,
allowMultiple: true,
labelIdle: 'Kéo thả ảnh hoặc <span class="filepond--label-action">Chọn ảnh</span>',
})
tinymce.init({