BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
We are using the image, audio and video upload tools. We are trying to restrict the upload by size.
Image
See this documentation: https://blazor.syncfusion.com/documentation/rich-text-editor/tools/insert-image#restrict-image-upload-based-on-size
The page says "By using the Rich Text Editor’s RichTextEditorEvents.OnImageUploading event", but that event doesn't exist. We believe it was replaced with "BeforeUploadImage" and the documentation is outdated. Also notice the example code uses "BeforeUploadImage". OK. No problem.
Issue: When "BeforeUploadImage" fires, args.FilesData is null. See attached code.
Audio
We're using "FileUploading" and it works perfectly.
Video
We're using "FileUploading" and it works perfectly.
Question: Why does RichTextEditorVideoSettings have Property "MaxFileSize"? Why doesn't "RichTextEditorAudioSettings" and "RichTextEditorImageSettings" also have "MaxFileSize"?
Thanks. This is a great product.
Great! Thanks for the updates.
Query 1: If a hot fix is available, we would appreciate it.
Hi Brian Pautsch,
Custom pack Link: https://drive.google.com/file/d/1zLHF3HD11jXhECX5prMgW1MeXIau9NNw/view?usp=drive_link
Hi Brian Pautsch,
Query 1: args.FilesData is null in the BeforeUploadImage event of Rich Text Editor
We have included the fix for the issue "args.FilesData is null in the BeforeUploadImage event of Rich Text Editor" with our package version 28.2.9. So, can you please upgrade your package to the latest to resolve the issue from your end?
Root cause: The method Fileselected perform the task whether the image is selected or not and execute the file that have be selected, it working even if the image is not selected.
Regards
Bhuvaneshwari T