image/image/ui/utils
module
Functions
getBalloonPositionData( editor ) → Partial<DomOptimalPositionOptions>internalmodule:image/image/ui/utils~getBalloonPositionDataReturns the positioning options that control the geometry of the contextual balloon with respect to the selected element in the editor content.
Parameters
editor : EditorThe editor instance.
Returns
Partial<DomOptimalPositionOptions>
repositionContextualBalloon( editor ) → voidinternalmodule:image/image/ui/utils~repositionContextualBalloonA helper utility that positions the contextual balloon instance with respect to the image in the editor content, if one is selected.
Parameters
editor : EditorThe editor instance.
Returns
void