Static object literal of execCommand overrides
addclass
cmd
cls
Defined in
editor/js/exec-command.js:285
Add a class to all of the elements in the selection
NodeList of the items touched by this command.
backcolor
cmd
val
Defined in
editor/js/exec-command.js:341
Adds a background color to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
createlink
cmd
Provided by the editor module.
Defined in
editor/js/createlink-base.js:36
Override for the createlink method from the CreateLinkBase plugin.
cmd
String
The command executed: createlink
Node instance of the item touched by this command.
fontname2
cmd
val
Defined in
editor/js/exec-command.js:388
Adds a font name to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
fontsize2
cmd
val
Defined in
editor/js/exec-command.js:408
Adds a fontsize to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
forecolor
cmd
val
Defined in
editor/js/exec-command.js:309
Adds a forecolor to the current selection, or creates a new element and applies it
NodeList of the items touched by this command.
hilitecolor
cmd
val
Defined in
editor/js/exec-command.js:377
Sugar method, calles backcolor
NodeList of the items touched by this command.
insertandfocus
cmd
html
Defined in
editor/js/exec-command.js:206
Inserts the provided HTML at the cursor, and focuses the cursor afterwards.
Node instance of the item touched by this command.
insertbr
cmd
Defined in
editor/js/exec-command.js:226
Inserts a BR at the current cursor position
cmd
String
The command executed: insertbr
inserthtml
cmd
html
Defined in
editor/js/exec-command.js:190
Inserts the provided HTML at the cursor, should be a single element.
Node instance of the item touched by this command.
insertimage
cmd
img
Defined in
editor/js/exec-command.js:274
Inserts an image at the cursor position
Node instance of the item touched by this command.
insertorderedlist
cmd
Defined in
editor/js/exec-command.js:439
Overload for list
cmd
String
The command executed: list, ul
insertunorderedlist
cmd
Defined in
editor/js/exec-command.js:448
Overload for list
cmd
String
The command executed: list, ol
justify
cmd
val
Defined in
editor/js/exec-command.js:641
Noramlizes alignment for Webkit Browsers
list
cmd
tag
Defined in
editor/js/exec-command.js:457
Noramlizes lists creation/destruction for IE. All others pass through to native calls
removeclass
cmd
cls
Defined in
editor/js/exec-command.js:297
Remove a class from all of the elements in the selection
NodeList of the items touched by this command.
wrap
cmd
tag
Defined in
editor/js/exec-command.js:178
Wraps the content with a new element of type (tag)
NodeList of the items touched by this command.