The goog.editor.plugins Namespace

The goog.editor.plugins.AbstractBubblePlugin Class

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. … more

The goog.editor.plugins.AbstractDialogPlugin Class

An abstract superclass for a Trogedit plugin that creates exactly one dialog. By default dialogs are not reused -- each time execCommand is called, a new instance of the dialog object is created (and the old one disposed of). To enable reusing of the dialog object, subclasses should call setReuseDialog() after calling the superclass constructor. … more

The goog.editor.plugins.AbstractTabHandler Class

Plugin to handle tab keys. Specific tab behavior defined by subclasses. … more

The goog.editor.plugins.BasicTextFormatter Class

Functions to style text (e.g. underline, make bold, etc.) … more

The goog.editor.plugins.Blockquote Class

Plugin to handle splitting block quotes. This plugin does nothing on its own and should be used in conjunction with EnterHandler or one of its subclasses. … more

The goog.editor.plugins.Emoticons Class

Plugin for generating emoticons. … more

The goog.editor.plugins.EnterHandler Class

Plugin to handle enter keys. This does all the crazy to normalize (as much as is reasonable) what happens when you hit enter. This also handles the special casing of hitting enter in a blockquote. In IE, Webkit, and Opera, the resulting HTML uses one DIV tag per line. In Firefox, the resulting HTML uses BR tags at the end of each line. … more

The goog.editor.plugins.EquationEditorPlugin Class

A plugin that opens the equation editor in a dialog window. … more

The goog.editor.plugins.HeaderFormatter Class

Applies header styles to text. … more

The goog.editor.plugins.LinkBubble Class

Property bubble plugin for links. … more

The goog.editor.plugins.LinkDialogPlugin Class

A plugin that opens the link dialog. … more

The goog.editor.plugins.LinkShortcutPlugin Class

Plugin to add a keyboard shortcut for the link command … more

The goog.editor.plugins.ListTabHandler Class

Plugin to handle tab keys in lists to indent and outdent. … more

The goog.editor.plugins.LoremIpsum Class

A plugin that manages lorem ipsum state of editable fields. … more

The goog.editor.plugins.RemoveFormatting Class

A plugin to handle removing formatting from selected text. … more

The goog.editor.plugins.SpacesTabHandler Class

Plugin to handle tab keys when not in lists to add 4 spaces. … more

The goog.editor.plugins.TableEditor Class

Plugin that adds support for table creation and editing commands. … more

The goog.editor.plugins.TagOnEnterHandler Class

Plugin to handle enter keys. This subclass normalizes all browsers to use the given block tag on enter. … more

The goog.editor.plugins.UndoRedo Class

Encapsulates undo/redo logic using a custom undo stack (i.e. not browser built-in). Browser built-in undo stacks are too flaky (e.g. IE's gets clobbered on DOM modifications). Also, this allows interleaving non-editing commands into the undo stack via the UndoRedoManager. … more

The goog.editor.plugins.UndoRedoManager Class

Manages undo and redo operations through a series of {@code UndoRedoState}s maintained on undo and redo stacks. … more

The goog.editor.plugins.UndoRedoState Class

Represents an undo and redo action for a particular state transition. … more

The goog.editor.plugins.equation Namespace

… more