JS document.querycommandstate () each parameter

Source: Internet
Author: User

 

Command identifiers

2d-position Allows an absolutely positioned object to be moved by dragging.
AbsolutePosition The position property of the Set element is "absolute" (absolute).
BackColor Sets or gets the background color of the currently selected area.
Blockdirltr Not currently supported.
Blockdirrtl Not currently supported.
Bold Toggles whether the current selection is bold or not.
Browsemode Not currently supported.
Copy Copies the currently selected area to the Clipboard.
CreateBookMark Creates a bookmark anchor or gets the name of the bookmark anchor for the current selection or insertion point.
Createlink Inserts a hyperlink on the current selection, or displays a dialog box that allows the user to specify the URL of the hyperlink to insert for the current selection.
Cut Copies the current selection to the Clipboard and deletes it.
Delete Deletes the currently selected area.
Dirltr Not currently supported.
Dirrtl Not currently supported.
EditMode Not currently supported.
FontName Sets or gets the font for the currently selected area.
FontSize Sets or gets the font size for the currently selected area.
ForeColor Sets or gets the foreground (text) color of the currently selected area.
Formatblock Sets the current block formatting label.
Indent Increases the indentation of the selected text.
Inlinedirltr Not currently supported.
Inlinedirrtl Not currently supported.
Insertbutton Overwrites the currently selected area with a button control.
InsertFieldSet Overwrites the current selection with a box.
Inserthorizontalrule Overwrites the current selection with a horizontal line.
Insertiframe Overwrites the currently selected area with an inline frame.
Insertimage Overwrites the current selected area with an image.
Insertinputbutton Overwrites the currently selected area with a button control.
Insertinputcheckbox Overwrites the current selection with a check box control.
Insertinputfileupload Overwrites the currently selected area with the file upload control.
Insertinputhidden Inserts a hidden control that overrides the current selection.
Insertinputimage Overwrites the currently selected area with an image control.
Insertinputpassword Overwrites the currently selected area with a password control.
Insertinputradio Overwrites the currently selected area with the radio button control.
Insertinputreset Overwrites the currently selected area with a reset control.
Insertinputsubmit Overwrites the current selection with the Submit control.
Insertinputtext Overwrites the currently selected area with a text control.
Insertmarquee Overwrites the currently selected area with an empty caption.
Insertorderedlist Toggles whether the current selection is a numbered list or a regular formatting block.
InsertParagraph Overwrites the current selection with a newline.
Insertselectdropdown Overwrites the current selection with a drop-down box control.
Insertselectlistbox Overwrites the current selection with a list box control.
Inserttextarea Overwrites the currently selected area with a multiline text input control.
Insertunorderedlist Toggles whether the current selection is a bulleted list or a regular formatting block.
Italic Toggles whether the current selection italic is displayed or not.
Justifycenter Place the current selection in the formatted block.
Justifyfull Not currently supported.
Justifyleft Aligns the formatting block in the current selection to the left.
Justifynone Not currently supported.
Justifyright Aligns the formatting blocks in the current selection to the right.
Liveresize Forces the MSHTML editor to continuously update the appearance of elements while zooming or moving, rather than updating only after the move or zoom is complete.
Multipleselection Allows more than one site-selectable element to be selected at a time when the user holds down the Shift or Ctrl key.
Open Not currently supported.
Outdent Reduces the indentation of the formatting block where the selection is located.
OverWrite Toggles the insertion and overwrite of text states.
Paste Overwrites the current selected area with the Clipboard contents.
Playimage Not currently supported.
Print Opens the Print dialog box so that the user can print the current page.
Redo Not currently supported.
Refresh Refreshes the current document.
Removeformat Removes a formatted label from the current selection.
Removeparaformat Not currently supported.
SaveAs Saves the current Web page as a file.
SelectAll Select the entire document.
SizeToControl Not currently supported.
SizeToControlHeight Not currently supported.
SizeToControlWidth Not currently supported.
Stop Not currently supported.
Stopimage Not currently supported.
Strikethrough Not currently supported.
Subscript Not currently supported.
Superscript Not currently supported.
Unbookmark Removes all bookmarks from the current selection.
Underline Toggles whether the underline of the current selection is displayed or not.
Undo Not currently supported.
Unlink Removes all hyperlinks from the currently selected area.
Unselect Clears the selected state of the current selection.

JS document.querycommandstate () each parameter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.