|
Editor API commands:
al_Editor_InsertHtml(clientID, html) - Inserts
HTML at the current cursor position
al_Editor_SurroundHtml(clientID, before, after) -
Surrounds the currently selected text (and HTML) with the given strings
al_Editor_GetHtml(clientID) - Returns the HTML
currently in the editor
al_Editor_SetHtml(clientID, html) - Sets the
HTML in the editor
al_Editor_ExecuteCommand(clientID, commandName, middle,
commandValue) - Executes commands based on the MSHTML (for IE) and
Midas (for Firefox/Mozilla) specifications
al_Editor_QueryCommandValue(clientID, commandName)
- Querys the state of the current cursor position
al_Editor_Focus(clientID) - Sets the focus on
the current editor
clientID - identifier of the Editor (use args.ClientID
field)
|