Static object literal of execCommand overrides
addclasscmd
cls
Add a class to all of the elements in the selection
NodeList of the items touched by this command.
backcolorcmd
val
Adds a background color to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
createlinkcmd
Override for the createlink method from the CreateLinkBase plugin.
cmd
String
The command executed: createlink
Node instance of the item touched by this command.
fontname2cmd
val
Adds a font name to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
fontsize2cmd
val
Adds a fontsize to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
forecolorcmd
val
Adds a forecolor to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
hilitecolorcmd
val
Sugar method, calles backcolor
NodeList of the items touched by this command.
insertandfocuscmd
html
Inserts the provided HTML at the cursor, and focuses the cursor afterwards.
Node instance of the item touched by this command.
insertbrcmd
Inserts a BR at the current cursor position
cmd
String
The command executed: insertbr
inserthtmlcmd
html
Inserts the provided HTML at the cursor, should be a single element.
Node instance of the item touched by this command.
insertimagecmd
img
Inserts an image at the cursor position
Node instance of the item touched by this command.
insertorderedlistcmd
Overload for list
cmd
String
The command executed: list, ul
insertunorderedlistcmd
Overload for list
cmd
String
The command executed: list, ol
justifycmd
val
Noramlizes alignment for Webkit Browsers
justifycenterOverride method for justify
justifyfullOverride method for justify
justifyleftOverride method for justify
justifyrightOverride method for justify
listcmd
tag
Noramlizes lists creation/destruction for IE. All others pass through to native calls