Hi There,
The Blazor Rich Text Editor has weird Copy / Paste behaviour.
(this can be reproduced here:https://www.syncfusion.com/blazor-components/blazor-wysiwyg-rich-text-editor )
Suppose we have a piece of HTML in the text editor, as follows:
<p>ABC</p>
In Preview Mode, select the text, copy it, and paste it.
Here is the resultant HTML:
<p>ABC</p><p><span style="font-family: Roboto, "Segoe UI", GeezaPro, "DejaVu Serif", sans-serif, -apple-system, BlinkMacSystemFont;">ABC</span></p>
Shouldn't the result be this?
<p>ABC</p><p>ABC</p>
Because of this, the first "ABC" is rendered differently to the second "ABC", when displayed in the app (the first occurrence uses the system style for <p> but the second occurrence forces a particular font family, as imposed by the Rich Text Editor.
Is there a way to prevent this behaviour?