Gantt Component - NotesEditor

18 Nov 20261 minute to read

Lightweight HTML editor module used by the Gantt dialog Notes field.

<div id='gantt'></div>
<script>
    let gantt: Gantt = new Gantt({ taskFields: { notes: 'Notes' } });
    gantt.appendTo('#gantt');
</script>

Properties

Get value string

Gets or sets the editor HTML value.

Set value void

Gets or sets the editor HTML value.

Parameters: value: string

Methods

dataBind

Applies a changed value after property-style assignment.

Returns void

destroy

Destroys the NotesEditor module and removes its event listeners and DOM references.

Returns void

getHtml

Gets the current editor HTML.

Returns string

getText

Gets the current editor text.

Returns string

refresh

Refreshes the editor after its containing dialog tab becomes visible.

Returns void