Table of Contents

Class Richtext

Namespace
Dynamicweb.CoreUI.Editors.Inputs
Assembly
Dynamicweb.CoreUI.dll
public class Richtext : EditorBase<string>, IToggleableEditor
Inheritance
Richtext
Implements
Inherited Members
Extension Methods

Properties

Configuration

public RichtextConfiguration? Configuration { get; set; }

Property Value

RichtextConfiguration

CultureCode

Gets or sets the culture code that specifies the locale to use for formatting and translating operations.

public string? CultureCode { get; set; }

Property Value

string

Remarks

The culture code should be provided as a language tag, such as "en-US" for English (United States) or "fr-FR" for French (France). Setting this property allows the application to adapt its behavior to the user's cultural preferences, affecting how dates, numbers, and other culture-sensitive data are displayed and interpreted.

DefaultFontStyle

public string? DefaultFontStyle { get; set; }

Property Value

string

DefaultTag

public string? DefaultTag { get; set; }

Property Value

string

EnableAITools

public bool EnableAITools { get; set; }

Property Value

bool

SelectorProviders

public IEnumerable<SelectorProviderBase>? SelectorProviders { get; }

Property Value

IEnumerable<SelectorProviderBase>

ShowStyleSelector

public bool ShowStyleSelector { get; set; }

Property Value

bool

ShowTagSelector

public bool ShowTagSelector { get; set; }

Property Value

bool

ShowToggle

public bool ShowToggle { get; set; }

Property Value

bool

Type

public Richtext.EditorType Type { get; set; }

Property Value

Richtext.EditorType

TypographyId

public string? TypographyId { get; set; }

Property Value

string

Methods

AddSelector(Selector)

public void AddSelector(Selector selector)

Parameters

selector Selector

AddSelector(SelectorProviderBase)

public void AddSelector(SelectorProviderBase selector)

Parameters

selector SelectorProviderBase
To top