table/utils/ui/contextualballoon
module
Functions
-
getBalloonCellPositionData( editor ) → Partial<DomOptimalPositionOptions>
internalmodule:table/utils/ui/contextualballoon~getBalloonCellPositionData
Returns the positioning options that control the geometry of the contextual balloon with respect to the selected table cell in the editor content.
Parameters
editor : Editor
The editor instance.
Returns
Partial<DomOptimalPositionOptions>
-
getBalloonTablePositionData( editor ) → Partial<DomOptimalPositionOptions>
module:table/utils/ui/contextualballoon~getBalloonTablePositionData
Returns the positioning options that control the geometry of the contextual balloon with respect to the selected table in the editor content.
Parameters
editor : Editor
The editor instance.
Returns
Partial<DomOptimalPositionOptions>
-
repositionContextualBalloon( editor, target ) → void
internalmodule:table/utils/ui/contextualballoon~repositionContextualBalloon
A helper utility that positions the contextual balloon instance with respect to the table in the editor content, if one is selected.
Parameters
editor : Editor
The editor instance.
target : string
Either "cell" or "table". Determines the target the balloon will be attached to.
Returns
void