/

Editor

API
Start typing

Update HTML:


-
Name and descriptionType Value
Show preview
Just demo
boolean
disabled
Disabled state (use formControl.disable() )
boolean
[readOnly]
Readonly mode
boolean
[floatingToolbar]
Floating toolbar
boolean
[tools]
Allowed edit tools
Set<TuiEditorToolType>  |  readonly TuiEditorToolType[]
['justify', 'anchor', 'bold', 'cellColor', 'clear', 'code', 'foreColor', 'details', 'hiliteColor', 'insertHorizontalRule', 'image', 'italic', 'link', 'list', 'quote', 'fontSize', 'strikeThrough', 'subscript', 'superscript', 'insertTable', 'underline', 'undo']
[ngModel]
Example pass HTML code
string
[placeholder]
Placeholder shown on empty focused input
string
[style.min-height]
Value of CSS-property "min-height"
string
[style.max-height]
Value of CSS-property "max-height"
string

How to use