What's New in Angular Rich Text Editor | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (182).NET Core  (28).NET MAUI  (232)Angular  (117)ASP.NET  (49)ASP.NET Core  (81)ASP.NET MVC  (87)Azure  (42)Black Friday Deal  (1)Blazor  (243)BoldSign  (15)DocIO  (24)Essential JS 2  (110)Essential Studio  (201)File Formats  (74)Flutter  (140)JavaScript  (227)Microsoft  (122)PDF  (86)Python  (1)React  (107)Streamlit  (1)Succinctly series  (131)Syncfusion  (991)TypeScript  (33)Uno Platform  (3)UWP  (3)Vue  (46)Webinar  (53)Windows Forms  (59)WinUI  (72)WPF  (165)Xamarin  (159)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (11)Business intelligence  (55)Button  (4)C#  (164)Chart  (154)Chart of the week  (62)Cloud  (16)Company  (440)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (74)Development  (694)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (13)Excel  (43)Extensions  (31)File Manager  (8)Gantt  (22)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (529)Mobile MVC  (9)OLAP server  (2)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (48)Performance  (13)PHP  (2)PivotGrid  (5)Predictive Analytics  (6)Report Server  (3)Reporting  (8)Reporting / Back Office  (9)Rich Text Editor  (12)Road Map  (12)Scheduler  (54)Security  (5)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (32)Solution Services  (4)Spreadsheet  (11)SQL  (15)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (424)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (647)What's new  (354)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Whats new Angular Rich Text Editor

What’s New 2019 Volume 3 Beta: Angular Rich Text Editor

In Syncfusion’s beta release of Essential Studio 2019 Volume 3, the Rich Text Editor for Angular received major enhancements that address various real-time use cases, such as:

  • Copying and pasting images from Microsoft Word and Outlook.
  • Dragging and dropping images from a local path.
  • The ability to resize the editor.
  • Saving an image as a Base64 or a BLOB.
  • Image uploading.
  • Inserting relative URL links.
  • Using file upload events.

In this blog, I will summarize the enhancements made in the Rich Text Editor. All of these features are also available for JavaScript, React, Vue, ASP.NET MVC, ASP.NET Core, and Blazor.

Pasting images from Microsoft Word and Outlook

It’s a common practice to copy and paste content from Microsoft Word and Outlook to the Rich Text Editor control. In our previous release, Volume 2, we provided support for copying and pasting text from Word and Outlook to the editor with options to paste the content as plain text or preserve its format.

Now, we’ve enhanced this feature by including a provision to copy and paste images as well. Suppose you want to upload images to a server when pasting them. Now you can configure server properties in the Rich Text Editor to do that.

The online demo for this feature can be seen at https://ej2.syncfusion.com/demos/#/material/rich-text-editor/paste-cleanup.html.

Copying and pasting image from Microsoft Word
Copying and pasting image from Microsoft Word

Drag and drop images

With previous versions of the Rich Text Editor control, you could only drag and drop images within the editor to change their location. Now, you can insert images into the editor by dragging and dropping them from a local path.

This feature simplifies image-adding operations for the editor. In addition, you can upload the same images to the server by configuring the server properties.

Drag and drop image into Rich Text Editor
Drag and drop image into Rich Text Editor

Resizable editor

The editor now has built-in support for resizing. To display the gripper at bottom-right corner of the editor, enable the resizing property. You can resize the editor by dragging this gripper, and you can configure the minimum or maximum width and height through CSS to block the resize ranges. The resize events—resizeStart, resize, and resizeStop—help when customizing from the application end.Resizable Rich Text Editor

Save image as BLOB or Base64

There’s a growing need to save images in Base64 format. If a user wants to insert a lot of tiny images in the editor and doesn’t want a separate physical location for them, then they can choose to save images as type Base64.

In the previous version of the Rich Text Editor, images were inserted as a BLOB when the server wasn’t configured to save the images. Now, we have provided support to insert images as BLOBs as well as in Base64 format. The Base64 format helps to directly bind content using data annotation. There is no need for image conversion. The following code listing shows BLOB and Base64 representations of an inserted image.

 <p><img class=”e-rte-image e-imginline” alt=”Steven.png” src=”blob:https://ej2.syncfusion.com/97dc0e10-8069-4868-b2b7-fefed228fd07” style=”min-width: 0px; min-height: 0px;” width=”auto” height=”auto”><br></p><p><img class=”e-rte-image e-imginline” alt=”Robert.png” src=”data:image/png;base64,iVBORw0KG…” style=”min-width: 0px; min-height: 0px;” width=”auto” height=”auto”><br></p>

Note: Because it contains a large amount of data, the src in the Base64 code is abbreviated.

Image upload improvements

Apart from the features discussed so far, we have enhanced the usability of image uploads in the Angular Rich Text Editor. One such enhancement is the addition of file upload events. The following events are provided to customize image upload operations.

  • ImageSelected is triggered when the image is selected or dragged into the Insert Image dialog.
  • ImageUploading is triggered when the selected image begins to upload to the server.
  • ImageUploadSuccess is triggered when the image is successfully uploaded to the server.
  • ImageUploadFailed is triggered when there is an error with the image upload.
  • ImageRemoving is triggered when the selected image is cleared from the file list.

We also added support for inserting links with relative URLs.


Syncfusion invites you to try out these features already available in the Volume 3 beta release. For existing customers, the new version is available for download in the License and Downloads page.

Also, if you wish to send us feedback or would like to submit any questions, please feel free to post them in the comments section of this blog post. You can also contact us through our support forumfeedback portal, or Direct-Trac support system.


Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed