Module

table/utils/ui/contextualballoon

@ckeditor/ckeditor5-table/src/utils/ui/contextualballoon

module

Filtering

Functions

  • getBalloonCellPositionData( editor ) → Partial<Options>

    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<Options>
  • getBalloonTablePositionData( editor ) → Partial<Options>

    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<Options>
  • repositionContextualBalloon( editor, target ) → void

    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