Class RTE
Rich text editor is a component that help you to display or edit the content including tables, hyperlinks, paragraphs, lists, video, and images
Implements
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class RTE : Control, IHtmlString
Constructors
RTE()
Initializes a new instance of the RTE class.
Declaration
public RTE()
RTE(String, RTEproperties)
Initializes a new instance of the RTE class.
Declaration
public RTE(string id, RTEproperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier |
RTEproperties | propModel | The property model |
Properties
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the RTE element as 'ejRTE'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
RTEModel
Gets or sets the RTE properties to the model.
Declaration
public RTEproperties RTEModel { get; set; }
Property Value
Type | Description |
---|---|
RTEproperties |
TagName
Gets the tag name of RTE Tab element as 'textarea'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the RTE control with directives.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
Represents an HTML-encoded string of the RTE control with directives.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
GetDependentControl()
Get the dependent control
Declaration
protected override List<string> GetDependentControl()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
RenderControl(String)
Render this instance
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
RenderElement(String)
Represents the element rendering.
Declaration
protected HtmlTag RenderElement(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | The control identifier |
Returns
Type | Description |
---|---|
HtmlTag |
RenderPaneContent(RTEproperties, HtmlTag)
Represents the content rendering of RTE.
Declaration
protected HtmlTag RenderPaneContent(RTEproperties pane, HtmlTag PaneDiv)
Parameters
Type | Name | Description |
---|---|---|
RTEproperties | pane | The content pane |
HtmlTag | PaneDiv | The content pane division tag |
Returns
Type | Description |
---|---|
HtmlTag |