fix(fonts): increase custom font upload limit to 50MB (#1862)

This commit is contained in:
lixiaoyu0123
2026-06-29 08:58:16 -04:00
committed by GitHub
parent be574d5b16
commit bda8db5e65
18 changed files with 72 additions and 22 deletions
@@ -30,9 +30,9 @@ export class FontUploadDialogComponent implements OnDestroy {
isLoadingPreview = false;
currentPreviewToken: number | null = null;
readonly maxFileSize = 5242880;
readonly maxFonts = 10;
readonly acceptedFormats = ['.ttf', '.otf', '.woff', '.woff2'];
readonly maxFileSize = 50 * 1024 * 1024;
onUploadZoneClick(): void {
if (this.isUploading) {