ExecCommand的命令列表

原文

Allows absolutely positioned elements to be moved by dragging.

Sets an element's position property to "absolute."

Sets or retrieves the background color of the current selection.

Not supported.

Not supported.

Toggles the current selection between bold and nonbold.

Not supported.

Clears all authentication credentials from the cache. Applies only to execCommand.

Copies the current selection to the clipboard.

Creates a bookmark anchor or retrieves the name of a bookmark anchor for the current selection or insertion point.

Inserts a hyperlink on the current selection, or displays a dialog box enabling the user to specify a URL to insert as a hyperlink on the current selection.

Copies the current selection to the clipboard and then deletes it.

Deletes the current selection.

Not supported.

Not supported.

Not supported.

Sets or retrieves the font for the current selection.

Sets or retrieves the font size for the current selection.

Sets or retrieves the foreground (text) color of the current selection.

Sets the current block format tag.

Increases the indent of the selected text by one indentation increment.

Not supported.

Not supported.

Overwrites a button control on the text selection.

Overwrites a box on the text selection.

Overwrites a horizontal line on the text selection.

Overwrites an inline frame on the text selection.

Overwrites an image on the text selection.

Overwrites a button control on the text selection.

Overwrites a check box control on the text selection.

Overwrites a file upload control on the text selection.

Inserts a hidden control on the text selection.

Overwrites an image control on the text selection.

Overwrites a password control on the text selection.

Overwrites a radio control on the text selection.

Overwrites a reset control on the text selection.

Overwrites a submit control on the text selection.

Overwrites a text control on the text selection.

Overwrites an empty marquee on the text selection.

Toggles the text selection between an ordered list and a normal format block.

Overwrites a line break on the text selection.

Overwrites a drop-down selection control on the text selection.

Overwrites a list box selection control on the text selection.

Overwrites a multiline text input control on the text selection.

Converts the text selection into an ordered list.

Toggles the current selection between italic and nonitalic.

Centers the format block in which the current selection is located.

Not supported.

Left-justifies the format block in which the current selection is located.

Not supported.

Right-justifies the format block in which the current selection is located.

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.

Allows for the selection of more than one site selectable element at a time when the user holds down the SHIFT or CTRL keys.

Not supported.

Decreases by one increment the indentation of the format block in which the current selection is located.

Toggles the text-entry mode between insert and overwrite.

Overwrites the contents of the clipboard on the current selection.

Not supported.

Opens the print dialog box so the user can print the current page.

Not supported.

Refreshes the current document.

Removes the formatting tags from the current selection.

Not supported.

Saves the current webpage to a file.

Selects the entire document.

Not supported.

Not supported.

Not supported.

Not supported.

Not supported.

Not supported.

Not supported.

Not supported.

Removes any bookmark from the current selection.

Toggles the current selection between underlined and not underlined.

Undo the previous command.

Removes any hyperlink from the current selection.

Clears the current selection.

 

發佈了21 篇原創文章 · 獲贊 1 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章