linksEnabled([enabled])

Class: DocumentEditor.

Description:

Sets or gets the ability to click on HTML document's hypertext links made with a tag to open the link in a web browser. When enabled, user can click on a hyperlink to open the link's URL in a default web browser. For that HTML content type must be enabled with html(true) method and editing should be disabled with editable(false) method.

Parameters:

Name Type Description

[enabled]

boolean

true to enable, false to disable.

Returns:

If argument is omitted, boolean is returned, otherwise this DocumentEditor instance is returned.

Type: DocumentEditor | boolean