Class RichtextConfiguration
- Namespace
- Dynamicweb.CoreUI.Editors.Inputs
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class RichtextConfiguration
- Inheritance
-
RichtextConfiguration
- Inherited Members
-
Fields
LinkExternal
public static readonly string LinkExternal
Field Value
- string
LinkFile
public static readonly string LinkFile
Field Value
- string
LinkPage
public static readonly string LinkPage
Field Value
- string
LinkParagraph
public static readonly string LinkParagraph
Field Value
- string
LinkProduct
public static readonly string LinkProduct
Field Value
- string
LinkProductGroup
public static readonly string LinkProductGroup
Field Value
- string
Properties
Alignment
public IReadOnlyCollection<string>? Alignment { get; set; }
Property Value
- IReadOnlyCollection<string>
Alignments
public static IEnumerable<string> Alignments { get; }
Property Value
- IEnumerable<string>
Anchor
public bool Anchor { get; set; }
Property Value
- bool
BackgroundColor
public bool BackgroundColor { get; set; }
Property Value
- bool
Bold
public bool Bold { get; set; }
Property Value
- bool
BulletList
public bool BulletList { get; set; }
Property Value
- bool
ClearFormat
public bool ClearFormat { get; set; }
Property Value
- bool
Clipboard
public bool Clipboard { get; set; }
Property Value
- bool
CodeBlock
public bool CodeBlock { get; set; }
Property Value
- bool
CodeInline
public bool CodeInline { get; set; }
Property Value
- bool
Image
public bool Image { get; set; }
Property Value
- bool
IndentDecrease
public bool IndentDecrease { get; set; }
Property Value
- bool
IndentIncrease
public bool IndentIncrease { get; set; }
Property Value
- bool
Italics
public bool Italics { get; set; }
Property Value
- bool
LineHeight
public IReadOnlyCollection<string>? LineHeight { get; set; }
Property Value
- IReadOnlyCollection<string>
LineHeights
public static IEnumerable<string> LineHeights { get; }
Property Value
- IEnumerable<string>
Link
public IReadOnlyCollection<string>? Link { get; set; }
Property Value
- IReadOnlyCollection<string>
Links
public static IEnumerable<string> Links { get; }
Property Value
- IEnumerable<string>
Name
public string? Name { get; set; }
Property Value
- string
NumberedList
public bool NumberedList { get; set; }
Property Value
- bool
Strikethrough
public bool Strikethrough { get; set; }
Property Value
- bool
Styles
public static IEnumerable<string> Styles { get; }
Property Value
- IEnumerable<string>
Subscript
public bool Subscript { get; set; }
Property Value
- bool
Superscript
public bool Superscript { get; set; }
Property Value
- bool
Table
public bool Table { get; set; }
Property Value
- bool
TextColor
public bool TextColor { get; set; }
Property Value
- bool
TextFormat
public IReadOnlyCollection<string>? TextFormat { get; set; }
Property Value
- IReadOnlyCollection<string>
TextFormats
public static IEnumerable<string> TextFormats { get; }
Property Value
- IEnumerable<string>
Typography
public IReadOnlyCollection<string>? Typography { get; set; }
Property Value
- IReadOnlyCollection<string>
Underline
public bool Underline { get; set; }
Property Value
- bool
Methods
GetAlignmentOptions(IEnumerable<string>)
public static IEnumerable<ListBase.ListOption> GetAlignmentOptions(IEnumerable<string> alignment)
Parameters
alignment IEnumerable<string>
Returns
- IEnumerable<ListBase.ListOption>
GetDefaultConfig(bool, bool)
public static RichtextConfiguration GetDefaultConfig(bool showStyles, bool showTags)
Parameters
showStyles bool
showTags bool
Returns
- RichtextConfiguration
GetDefaultConfig(bool, bool, bool)
public static RichtextConfiguration GetDefaultConfig(bool showStyles, bool showTags, bool showSubscriptAndSuperscript)
Parameters
showStyles bool
showTags bool
showSubscriptAndSuperscript bool
Returns
- RichtextConfiguration
GetLineHeightOptions(IEnumerable<string>)
public static IEnumerable<ListBase.ListOption> GetLineHeightOptions(IEnumerable<string> lineHeight)
Parameters
lineHeight IEnumerable<string>
Returns
- IEnumerable<ListBase.ListOption>
GetLinkSettings(RichtextConfiguration, SelectorProviderBase)
public static bool GetLinkSettings(RichtextConfiguration configuration, SelectorProviderBase selector)
Parameters
configuration RichtextConfiguration
selector SelectorProviderBase
Returns
- bool
GetTextFormatOptions(IEnumerable<string>)
public static IEnumerable<ListBase.ListOption> GetTextFormatOptions(IEnumerable<string> textFormat)
Parameters
textFormat IEnumerable<string>
Returns
- IEnumerable<ListBase.ListOption>
GetTypographyOptions(IEnumerable<string>)
public static IEnumerable<ListBase.ListOption> GetTypographyOptions(IEnumerable<string> typography)
Parameters
typography IEnumerable<string>
Returns
- IEnumerable<ListBase.ListOption>
IsLinkAllowed(RichtextConfiguration, string)
public static bool IsLinkAllowed(RichtextConfiguration configuration, string linkType)
Parameters
configuration RichtextConfiguration
linkType string
Returns
- bool