RichEditCommands.insertPicture Property
Gets a command to insert an inline picture stored by the specified web address.
Declaration
readonly insertPicture: InsertPictureCommand
Property Value
Type | Description |
---|---|
InsertPictureCommand | An object that provides methods that execute the command and check its state. |
Remarks
Call the execute(imageUrl) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.
richEdit.commands.insertPicture.execute("images.com/image1");
See Also