Table of Contents

Class RichTextEditor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll
Represents a rich text editor.
[Editor("Rich text")]
public class RichTextEditor : StringEditor, IDropDownOptions
Inheritance
RichTextEditor
Implements
Inherited Members

Constructors

RichTextEditor()

Initializes a new instance of an object.
public RichTextEditor()

Properties

ConfgurationId

Gets or sets id of configuration settings.
[AddInLabel("Select configuration")]
[AddInParameter("SelectConfgurationId")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=std editor-parameter")]
public int ConfgurationId { get; set; }

Property Value

int

Mode

Gets the editor mode.
public override TextEditorMode Mode { get; }

Property Value

TextEditorMode

Methods

BeginEdit(EditorContext)

Enables the editor to populate its UI to the client and initiate the editing process.
[Obsolete("Do not use")]
public override void BeginEdit(EditorContext context)

Parameters

context EditorContext
Editor context.

GetOptions(string)

Get options for editors with multiple values
public Hashtable GetOptions(string dropdownName)

Parameters

dropdownName string

Returns

Hashtable

RenderItemListValue(string)

Render of the Item List value.
[Obsolete("Do not use")]
public override Editor.RenderedItemListResult RenderItemListValue(string value)

Parameters

value string
Value

Returns

Editor.RenderedItemListResult
Rendered Value

RenderValue(EditorRenderingContext)

Renders value.
public override void RenderValue(EditorRenderingContext context)

Parameters

context EditorRenderingContext
Editor rendering context.
To top