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