HtmlForgeX

API Reference

Class

TablerWysiwygEditor

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Rich text editor form element styled for Tabler.

Inheritance

Constructors

public TablerWysiwygEditor(String name) #

Initializes the editor with the specified name.

Parameters

name System.String requiredposition: 0

Methods

public TablerWysiwygEditor Height(String css) #
Returns: TablerWysiwygEditor

Sets the height of the editor container.

Parameters

css System.String requiredposition: 0
CSS height value.

Returns

The current TablerWysiwygEditor instance.

public TablerWysiwygEditor Label(String text) #
Returns: TablerWysiwygEditor

Sets the label displayed above the editor.

Parameters

text System.String requiredposition: 0
Label text.

Returns

The current TablerWysiwygEditor instance.

RegisterLibraries() #
public TablerWysiwygEditor Theme(QuillTheme theme) #
Returns: TablerWysiwygEditor

Sets the editor theme.

Parameters

theme HtmlForgeX.QuillTheme requiredposition: 0
Theme to use.

Returns

The current TablerWysiwygEditor instance.

public TablerWysiwygEditor Toolbar(List<QuillFormat> formats) #
Returns: TablerWysiwygEditor

Configures the toolbar using the given list of formats.

Parameters

formats System.Collections.Generic.List{HtmlForgeX.QuillFormat} requiredposition: 0
Toolbar formats.

Returns

The current TablerWysiwygEditor instance.

public TablerWysiwygEditor ToolbarAdvanced(Action<QuillToolbarConfig> config) #
Returns: TablerWysiwygEditor

Configures the toolbar with advanced configuration.

Parameters

config System.Action{HtmlForgeX.QuillToolbarConfig} requiredposition: 0
Configuration callback.

Returns

The current TablerWysiwygEditor instance.

public TablerWysiwygEditor ToolbarGroups(params List<QuillFormat>[] groups) #
Returns: TablerWysiwygEditor

Configures the toolbar with grouped buttons.

Parameters

groups System.Collections.Generic.List{HtmlForgeX.QuillFormat}[] requiredposition: 0
Grouped toolbar formats.

Returns

The current TablerWysiwygEditor instance.

public override String ToString() #
Returns: String