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