search

goog.editor.plugins.AbstractBubblePlugin

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Base class for bubble plugins. This is used for to connect user behavior in the editor to a goog.ui.editor.Bubble UI element that allows the user to modify the properties of an element on their page (e.g. the alt text of an image tag).

Subclasses should override the abstract method getBubbleTargetFromSelection() with code to determine if the current selection should activate the bubble type. The other abstract method createBubbleContents() should be overriden with code to create the inside markup of the bubble. The base class creates the rest of the bubble.

new AbstractBubblePlugin()

Parameters

None.

Instance Methods

Instance Properties

Static Functions

Static Properties