EnumEditorEditMode
Controls how the Editor content area is rendered and how styles are handled.
Definition
Namespace:Telerik.Blazor
Assembly:Telerik.Blazor.dll
Syntax:
public enum EditorEditMode
Fields
Div
Renders the content area as a content-editable div element within the page. Allows CSS inheritance from the parent page for seamless visual integration. Use when you want the editor content to match your application's styling. Content can inherit page fonts, colors, and other CSS properties.
Iframe
Renders the content area as an iframe element for complete style isolation. Provides better security and prevents CSS conflicts between the editor content and page styles. Use when you need strict style separation or when working with untrusted content. Content inherits only iframe-specific styles, not the parent page styles.