LgHtmlEditor
Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Catégorie : HtmlEditor
Hérite de : LgInputBase<string>
HTML editor component.
Paramètres
| Paramètre | Type | Description |
|---|---|---|
AllowResizeX | bool | Allow disable/enable horizintal resizing |
AllowResizeY | bool | Allow disable/enable vertical resizing |
AskBeforePasteFromWord | bool | Gets or sets if the MSWord copy paste popup is displayed |
AskBeforePasteHTML | bool | Gets or sets if the HTML copy paste popup is displayed |
Buttons | List<string> | The list of buttons that appear in the editor's toolbar on large places (≥ options.sizeLG). Note - this is not the width of the device, the width of the editor For example : "source", "bold", "italic", "underline", "strikethrough", "eraser", "superscript", "subscript", "ul", "ol", "indent", "outdent", "left", "font", "fontsize", "paragraph", "classSpan". |
DefaultFontSizePoints | string | Font size unit defined. Must be 'px' or 'pt'. The default is 'px'. |
FontFamilyList | Dictionary<string, string> | The list of font-family available in the dropdow in the editor |
FontSizeList | string[] | The available font size list |
Height | string | Set Html editor height. It automatically will add resize handle. |
Inline | bool | Inline editing mode |
Language | string | Force the default Language. |
MinHeight | int | Set Html editor minimal height in pixel. |
OnChangingAsync | Func<ChangingEventArgs<string>, Task> | Gets or sets a callback called before the current value is changed. |
OnInput | EventCallback<ChangeEventArgs> | Gets or sets a callback that updates the bound value. |
OnPasteAsync | Func<HtmlEditorPasteEventArgs, Task> | Gets or sets a callback that is called before pasting content, or dropping content coming from outside the editor. |
Placeholder | string | Gets or sets the input placeholder |
ShowInsertAsHtml | bool | Show the "Insert as HTML" button in the HTML dialog box choices. |
Spellcheck | bool | Options specifies whether the editor is to have its spelling and grammar checked or not |
Style | Dictionary<string, string> | Style applied on the jodit main container. |
TextIcons | bool | Replace SVG icons to text |
Toolbar | bool | Whether the toolbar should be shown |
Paramètres hérités de LgInputBase<TValue>
| Paramètre | Type | Description |
|---|---|---|
AdditionalAttributes | IReadOnlyDictionary<string, object> | Gets or sets a collection of additional attributes that will be applied to the created element. |
AutoFocus | bool | Gets or sets if the component received the focus on first render |
ConfirmationMessage | string | Gets or sets if the component display confirmation modal with the message |
Container | IInputContainer<TValue> | Used to attach a GridView cell to this input. |
CssClass | string | Gets or sets the CSS class. |
Disabled | bool | Gets or sets the input disabled attribute |
DisplayName | string | Gets or sets the display name for this field. This value is used when generating error messages when the input value fails to parse correctly. |
HideValidationMessage | bool | Get or set validator state |
Label | string | Gets or sets the label |
LabelContent | RenderFragment | Gets or sets the render fragment to customize the label part |
OnChange | EventCallback<ChangeEventArgs> | Gets or sets a callback called after a the current value changed. |
OnReset | EventCallback<ChangeEventArgs> | Gets or sets the call when the input is reset. |
PolicyEdit | string | Policy required to edit the TextBox |
PolicyVisible | string | Policy required to view the TextBox |
ReadOnly | bool | Gets or sets the input readonly attribute |
Required | bool? | Get or sets if this field is mandatory. If this parameter is null or not defined, the value is extracted from the [Required] attribute on the binding property. |
ResetButton | bool? | Display reset button if true |
ResetText | string | Reset button text |
ResetTextAriaLabel | string | Reset button ariaLabel text |
Tooltip | string | Gets or sets the tooltip. |
TooltipIsHtml | bool | Gets or sets if the tooltip contents use the HTML format; else, the content use a raw text format. |
Value | TValue | Gets or sets the value of the input. This should be used with two-way binding. |
ValueChanged | EventCallback<TValue> | Gets or sets a callback that updates the bound value. |
ValueExpression | Expression<Func<TValue>> | Gets or sets an expression that identifies the bound value. |
Paramètres en cascade hérités de LgInputBase<TValue>
| Paramètre | Type | Description |
|---|---|---|
ParentAuthorizeView | LgAuthorizeView | Potential policies defined by an ancestor |
Paramètres hérités de LgAriaComponentBase
| Paramètre | Type | Description |
|---|---|---|
AriaLabel | string | Gets or sets aria label |
AriaLabelledBy | string | Gets or sets id of component for aria label |