Hi Tom,
Greetings from Syncfusion support.
We have validated your reported query "How to copy base64 image to clipboard" and we can achieve this requirement by configuring the Base64
SaveFormat type in the RichTextEditorImageSettings property.
Code snippets:
<SfButton OnClick="OnClick">Get Value</SfButton>
<SfRichTextEditor @ref="rteObj">
<ChildContent>
<RichTextEditorToolbarSettings Items="@Tools"></RichTextEditorToolbarSettings>
<RichTextEditorImageSettings SaveFormat="SaveFormat.Base64"></RichTextEditorImageSettings>
</ChildContent>
</SfRichTextEditor>
…
public void OnClick()
{
Console.WriteLine(this.rteObj.Value);
var value = this.rteObj.Value;// The value contains image
value base64 string and you can save value to the database
}
|
Kindly get back to us if you have further queries.
Regards,
Keerthana.