html([value])

Class: DocumentEditor.

Description:

Sets or gets boolean value stating if content type of the document is HTML or not. True means HTML, false means plain text.

Parameters:

Name Type Description

[value]

boolean

true to enable HTML content type, false to switch to plain text.

Returns:

If argument is passed, this component instance is returned, otherwise boolean is returned.

Type: DocumentEditor | boolean