tiny_link/ui

Description:
  • Tiny Link UI.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Tiny Link UI.

Members

(static, constant) handleAction

Description:
  • Handle action.

Source:

Handle action.

Methods

(async, inner) displayDialogue(editor) → {Promise.<void>}

Description:
  • Display the link dialogue.

Source:
Parameters:
Name Type Description
editor TinyMCE
Returns:
Type
Promise.<void>

(inner) filePickerCallback(params, currentForm, editor)

Description:
  • Update the dialogue after a link was selected in the File Picker.

Source:
Parameters:
Name Type Description
params Object
currentForm Element
editor TinyMCE

(inner) getTemplateContext(editor) → {Object}

Description:
  • Get template context.

Source:
Parameters:
Name Type Description
editor TinyMCE
Returns:
Type
Object

(inner) updateTextToDisplay(currentForm)

Description:
  • Update the text to display if the user does not provide the custom text.

Source:
Parameters:
Name Type Description
currentForm Element