How to add the IFRAME and STYLE in the code view in RichTextEditor

Answer:

We can add IFRAME and STYLE in the code view can be resolved by setting the ‘EnableHtmlSanitizer’ property to false to allow the iframe and style elements to be inserted in the Rich Text Editor.

<SfRichTextEditorEnableHtmlSanitizer="false"> 

    <RichTextEditorToolbarSettingsItems="@Tools"/> 

</SfRichTextEditor>


Find the sample to add the IFRAME and STYLE in the code view in RichTextEditor from here.

Loader.
Up arrow icon