Example of Image in ASP.NET MVC Rich Text Editor Control

This sample demonstrates the option to insert the image to the Rich Text Editor content. Click the image button from the toolbar item to insert the image.

DEMO
SOURCE
EnableAutoUrl
Format Option

Image tools used to insert an image to the Rich Text Editor and click on the image to easily customize the image using quick toolbar. The quick toolbar has the following items

  • Replace – To replace the image with some other image.
  • Align – Align the image with left, right and justify.
  • Image captions – Set the captions for the image.
  • Change size – Modify width and height of image.
  • Delete – Delete the image.
  • Link – Provide the link to the image.
  • Display - Display the image as inline or with break.
  • Alternate text – Provide the alternative text for the image if the image is not present in the location.
  • Custom Tools - "rotation" related commands are added as custom commands to the image element.
  • Resize – To resize the image dimension with resize options.
Quick commands are opened as context-menu on clicking the corresponding element. The commands must be passed as string collection to image, text, and link attributes of the quickToolbarSettings property.
Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab