Report an issue
Class

CKEDITOR.plugins.balloontoolbar.contextManager

class

A class for managers that take care of handling multiple contexts.

The manager also makes sure that only one toolbar is active (per manager) at a time and implement the logic used to determine the best fitting context for a given selection. Default priorities are as follows:

  1. Callback – options.refresh
  2. Widgets matching – options.widgets
  3. CSS matching – options.cssSelector

It is worth noting that priorities could be further customized by explicitly providing CKEDITOR.plugins.balloontoolbar.contextDefinition.priority, so that it is possible to match a widget over a refresh callback.

Filtering

Properties

  • editor : editor

    The editor that the manager was created for.

  • private

    _contexts : context[]

    A list of contexts controlled by this manager.

    Defaults to []

  • private

    _listeners : Object[]

    An array of event listener references created by the manager.An array of objects returned by the CKEDITOR.event.on method.

    Defaults to []

Methods