Update ExportToolbarButton.tsx

This commit is contained in:
Nate Kelley 2025-08-01 22:19:40 -06:00
parent b166f525a2
commit f00150c585
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ export function ExportToolbarButton({ children, ...props }: DropdownMenuProps) {
`${elementStyle}; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important`
);
});
} else {
throw new Error('Editor element not found');
}
}
});