Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Image Selector

  • Cut (Ctrl+X)
  • Copy (Ctrl+C)
  • Paste (Ctrl+V)
  • Paste from Word
  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Remove Format
  • Superscript
  • Subscript
  • Ordered List
  • Bullet List
  • Indent
  • Outdent
  • Insert Link (Ctrl+K)
  • Remove Link (Ctrl+Shift+K)
  • Insert Image (Ctrl+G)
  • Insert Table
    v
  • Find and Replace (Ctrl+H)
  • Full Screen (F11)
  • v
  • v
  • v
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Align Left (Ctrl+L)
  • Align Center (Ctrl+E)
  • Align Right (Ctrl+R)
  • Back Color
    v
  • Fore Color
    v
Settings Image Selector
v
Settings Image Dialog
Apply Changes


This demo shows how easily images can be inserted into the content of the editor with the built-in image selector, which allows end-users to manage content images using a point-and-click UI, rather than typing image web addresses.

The image selector is accessible in the Insert Image dialog within the From the gallery tab when the SettingsImageSelector.Enabled property is set to true.

Thanks to the FileManager extension integrated into the image selector all file/folder management, access control, and upload capabilities are available to you out-of-the-box. To enable these capabilities, turn on the corresponding options using the editor's SettingsImageSelector option sets. In this demo, you can adjust some of these options using the settings displayed to the right of the editor.

Settings Image Selector

Settings Image Dialog

  • Show More Options (ShowMoreOptionsButton) specifies if the More options check box is displayed within the image dialog form. The check box controls the visibility of the section allowing end-users to customize image settings.

In this demo, the ShowStyleSettingsSection property is set to true. Therefore, the HTML Editor allows end-users to specify the CSS class for an image, using the image dialog. To select the CSS class for the current image, use the CSS class combo box in the More options section. The CSS styles listed in the combo box can be specified using the editor's CssClassItems property.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxHTMLEditorDemos