Images
Since 0.1.0-alpha.22
The members for images, and the types they use. Every member of
IzzyBlazor.RichTextEditor is on the RichTextEditor API.
Properties (3)
ImageUploadUrlstring?Where the image tool sends a chosen, pasted or dropped image: an endpoint of your app that takes a multipart POST with the image in a file field (and the form's antiforgery token, when it has one: a .NET 11 app without UseAntiforgery checks the origin instead), stores it, and answers with its URL, as text or as JSON { "url": "…" }. Without it, images come only by their address, or embedded with AllowDataImages.
AllowDataImagesbool = falseImages chosen, pasted or dropped with no ImageUploadUrl are embedded in the value as data: URLs (PNG, JPEG, GIF, WebP or AVIF, never SVG). Off by default: it makes the value as large as its images. Give RichText the same.
MaxImageSizelong = 2000000The largest image, in bytes, that can be uploaded or embedded. Defaults to 2 MB.