Light text editor object is text to HTML editor with basic styling functionality like font size, font family, ...

Light Text editor constructor takes two parameters:
new TLightTextEditor(width, height);
| Method/Property | Description |
|---|---|
| clear | Clears text editor content |
| getContent | Gets text editor HTML content |
| getText | Gets text editor plain text |
| setContent | Sets text editor HTML content. Form: setContent(content) |
| setOnValidation | Sets validation callback. Form: setOnValidation(callback) |
| setText | Sets text editor plain text content. Form: setText(text) |