Commands Ita-R (JavaScript)
Command identifiers Ita-R for JavaScript.
- Italic
- JustifyCenter
- JustifyFull
- JustifyLeft
- JustifyNone
- JustifyRight
- LiveResize
- MultipleSelection
- Open
- Outdent
- OverWrite
- Paste
- ms-pasteContentOnly
- ms-pasteTextOnly
- PlayImage
- Redo
- Refresh
- RemoveFormat
- RemoveParaFormat
Italic
Toggles the current selection between italic and nonitalic.
Command | Italic |
Minimum availability | Microsoft Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
JustifyCenter
Centers the format block in which the current selection is located.
Command | JustifyCenter |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
JustifyFull
Not supported.
Command | JustifyFull |
JustifyLeft
Left-justifies the format block in which the current selection is located.
Command | JustifyLeft |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
JustifyNone
Not supported.
Command | JustifyNone |
JustifyRight
Right-justifies the format block in which the current selection is located.
Command | JustifyRight |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
LiveResize
Causes the MSHTML Editor to update an element's appearance continuously during a resizing or moving operation, rather than updating only at the completion of the move or resize.
Command | LiveResize |
Minimum availability | Microsoft Internet Explorer 5.5 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Required. Variant of type Boolean specifying whether this feature is to be on or off.
When this feature is off, an element's new position or size is indicated by a dashed rectangle until the mouse button is released.
MultipleSelection
Allows for the selection of more than one site selectable element at a time when the user holds down the SHIFT or CTRL keys.
Command | MultipleSelection |
Minimum availability | Internet Explorer 5.5 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Required. Variant of type Boolean specifying whether this feature is to be on or off.
If multiple items are selected when the multiple selection feature is turned off, the items will remain selected.
Open
Not supported.
Command | Open |
Outdent
Decreases by one increment the indentation of the format block in which the current selection is located.
Command | Outdent |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
OverWrite
Toggles the text-entry mode between insert and overwrite.
Command | OverWrite |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional. Variant of type Boolean that specifies the text-entry mode. If this value is set to true or null, the text-entry mode is overwrite. If this value is set to false (the default), the text-entry mode is insert.
Paste
Overwrites the contents of the clipboard on the current selection.
Command | Paste |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
ms-pasteContentOnly
Removes styling and font and paragraph formatting (such as font size, alignment, and indentation) while retaining links, images, lists, and tables.
Command | ms-pasteContentOnly |
Minimum availability | Internet Explorer 10 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
document.execCommand("ms-pasteContentOnly");
ms-pasteTextOnly
Uses text formats on the clipboard instead of HTML or image formats, resulting in only text being pasted. If there is only HTML on the clipboard, this command will not paste anything.
Command | ms-pasteTextOnly |
Minimum availability | Internet Explorer 10 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
document.execCommand("ms-pasteTextOnly");
PlayImage
Not supported.
Command | PlayImage |
Opens the print dialog box so the user can print the current page.
Command | |
Minimum availability | Internet Explorer 5.5 |
Call execCommand with the following parameters.
bUserInterface
Set to false.bUserInterface
Required.vValue
Optional.
Redo
Not supported.
Command | Redo |
Refresh
Refreshes the current document.
Command | Refresh |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
RemoveFormat
Removes the formatting tags from the current selection.
Command | RemoveFormat |
Minimum availability | Internet Explorer 4.0 |
Call execCommand with the following parameters.
bUserInterface
Set to false.vValue
Optional.
RemoveParaFormat
Not supported.
Command | RemoveParaFormat |