Class ResourcesModel
Represents options to configure additional scripts and CSS styles.
Inheritance
System.Object
ResourcesModel
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ResourcesModel : Object
Remarks
This class is used to specify external resources, like scripts and styles, to be injected into an iframe in the editor.
Constructors
ResourcesModel()
Declaration
public ResourcesModel()
Properties
Scripts
Specifies scripts to inject into the iframe.
Declaration
public string[] Scripts { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | An array of strings representing script URLs or code blocks. |
Remarks
Use the Scripts array to load custom JavaScript into the editor’s iframe.
Styles
Specifies styles to inject into the iframe.
Declaration
public string[] Styles { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | An array of strings representing CSS URLs or styles. |
Remarks
Use the Styles array to apply CSS styles within the editor’s iframe to control the appearance of content.