Tiny Link UI.
- Source:
- Copyright:
- 2023 Huong Nguyen
- 2023 Huong Nguyen
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Members
(static, constant) handleAction
Handle action.
Methods
(async, inner) displayDialogue(editor) → {Promise.<void>}
Display the link dialogue.
Parameters:
Name | Type | Description |
---|---|---|
editor |
TinyMCE |
Returns:
- Type
- Promise.<void>
(inner) filePickerCallback(params, currentForm, editor)
Update the dialogue after a link was selected in the File Picker.
Parameters:
Name | Type | Description |
---|---|---|
params |
Object | |
currentForm |
Element | |
editor |
TinyMCE |
(inner) getTemplateContext(editor) → {Object}
Get template context.
Parameters:
Name | Type | Description |
---|---|---|
editor |
TinyMCE |
Returns:
- Type
- Object
(inner) updateTextToDisplay(currentForm)
Update the text to display if the user does not provide the custom text.
Parameters:
Name | Type | Description |
---|---|---|
currentForm |
Element |