tiny_equation/ui

Tiny Equation UI.

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

Members

(static, constant) handleAction

Source:

Handle action

Methods

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

Source:

Display the equation editor

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

(inner) getTemplateContext(editor, data) → {Object}

Source:

Get template context.

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

(inner) groupNavigation(e)

Source:

Callback handling the keyboard navigation in the groups of the library.

Parameters:
Name Type Description
e Event

(inner) notifyFilter(element)

Source:

Notify the filters about the modified nodes

Parameters:
Name Type Description
element Element

(inner) selectLibraryItem(libraryItem, contextId)

Source:

Handle select library item.

Parameters:
Name Type Description
libraryItem Object
contextId number

(inner) updatePreview(contextId)

Source:

Update the preview section.

Parameters:
Name Type Description
contextId number