editor.plugins

Classes

goog.editor.plugins.AbstractBubblePlugin
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.
goog.editor.plugins.AbstractDialogPlugin
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.
goog.editor.plugins.AbstractTabHandler
Plugin to handle tab keys. Specific tab behavior defined by subclasses.
goog.editor.plugins.BasicTextFormatter
Functions to style text (e.g. underline, make bold, etc.)
goog.editor.plugins.Blockquote
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.
goog.editor.plugins.Emoticons
Plugin for generating emoticons.
goog.editor.plugins.EnterHandler
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.
goog.editor.plugins.EquationEditorPlugin
A plugin that opens the equation editor in a dialog window.
goog.editor.plugins.FirstStrong
First Strong plugin.
goog.editor.plugins.HeaderFormatter
Applies header styles to text.
goog.editor.plugins.LinkBubble
Property bubble plugin for links.
goog.editor.plugins.LinkDialogPlugin
A plugin that opens the link dialog.
goog.editor.plugins.LinkShortcutPlugin
Plugin to add a keyboard shortcut for the link command
goog.editor.plugins.ListTabHandler
Plugin to handle tab keys in lists to indent and outdent.
goog.editor.plugins.LoremIpsum
A plugin that manages lorem ipsum state of editable fields.
goog.editor.plugins.RemoveFormatting
A plugin to handle removing formatting from selected text.
goog.editor.plugins.SpacesTabHandler
Plugin to handle tab keys when not in lists to add 4 spaces.
goog.editor.plugins.TableEditor
Plugin that adds support for table creation and editing commands.
goog.editor.plugins.TagOnEnterHandler
Plugin to handle enter keys. This subclass normalizes all browsers to use the given block tag on enter.
goog.editor.plugins.UndoRedo
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.
goog.editor.plugins.UndoRedoManager
Manages undo and redo operations through a series of UndoRedoStates maintained on undo and redo stacks.
goog.editor.plugins.UndoRedoState
Represents an undo and redo action for a particular state transition.

Public Protected Private

Global Properties

goog.editor.plugins.AbstractBubblePluginTest :
No description.
Code »
goog.editor.plugins.AbstractDialogPluginTest :
No description.
Code »
goog.editor.plugins.AbstractTabHandlerTest :
No description.
Code »
goog.editor.plugins.BasicTextFormatterTest :
No description.
Code »
goog.editor.plugins.BlockquoteTest :
No description.
Code »
goog.editor.plugins.EmoticonsTest :
No description.
Code »
goog.editor.plugins.EnterHandlerTest :
No description.
Code »
goog.editor.plugins.EquationEditorPluginTest :
No description.
Code »
goog.editor.plugins.FirstStrongTest :
No description.
Code »
goog.editor.plugins.HeaderFormatterTest :
No description.
Code »
goog.editor.plugins.LinkBubbleTest :
No description.
Code »
goog.editor.plugins.LinkShortcutPluginTest :
No description.
Code »
goog.editor.plugins.ListTabHandlerTest :
No description.
Code »
goog.editor.plugins.LoremIpsumTest :
No description.
Code »
goog.editor.plugins.RemoveFormattingTest :
No description.
Code »
goog.editor.plugins.SpacesTabHandlerTest :
No description.
Code »
goog.editor.plugins.TableEditorTest :
No description.
Code »
goog.editor.plugins.TagOnEnterHandlerTest :
No description.
Code »
goog.editor.plugins.UndoRedoManagerTest :
No description.
Code »
goog.editor.plugins.UndoRedoStateTest :
No description.
Code »
goog.editor.plugins.UndoRedoTest :
No description.
Code »
goog.editor.plugins.equation :
No description.
Code »

Package editor

Package Reference