Class RichTextEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a rich text editor.
[Editor("Rich text")]
public class RichTextEditor : StringEditor, IParameterOptions
- Inheritance
-
RichTextEditor
- Implements
- Derived
- Inherited Members
Constructors
RichTextEditor()
Initializes a new instance of an object.
public RichTextEditor()
Properties
DefaultFontStyle
Gets or sets value used as default class used for the text wrapper
[AddInLabel("Default font style")]
[AddInParameter("DefaultFontStyle")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "required=True; none=False")]
[AddInParameterOrder(0)]
public string DefaultFontStyle { get; set; }
Property Value
Mode
Gets the editor mode.
public override TextEditorMode Mode { get; }
Property Value
ShowStyleSelector
Gets or sets value indicating whether to show the style selector
[AddInLabel("Show style selector")]
[AddInParameter("ShowStyleSelector")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
[AddInParameterOrder(103)]
public bool ShowStyleSelector { get; set; }
Property Value
ShowTagSelector
Gets or sets value indicating whether to show the tag selector
[AddInLabel("Show tag selector")]
[AddInParameter("ShowTagSelector")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
[AddInParameterOrder(102)]
public bool ShowTagSelector { get; set; }
Property Value
Methods
GetParameterOptions(string)
protected virtual IEnumerable<ParameterOption> GetParameterOptions(string parameterName)
Parameters
parameterName
string