UI for Blazor
The Telerik UI for Blazor Rich Text Editor component is a WYSIWYG in-app editor designed for the creation of rich documents. Users can always open their favorite document editor and apply their changes there but why have them rely on another app when they can do everything in your project? The format of the resulting doc is HTML so it can be easily presented elsewhere in the application.
A Toolbar is rendered on the top of the Blazor Text Editor component and provides access to the commands available to the user. Commands include everything you would expect from an editor - undo and redo, changing the text decorations and weight, font, alignment, insertion of tables, bullet lists, etc. The toolbar uses your app’s theme for its visual style so you can transform its looks to fit the app.
The commands available on the Toolbar are called tools. The Blazor Rich Text Editor ships with a plethora of tools and by default will display them all on the toolbar. These include a color palette to pick the color, button for toggling bold, italic or underline, align the text, etc. They're also accessible programmatically and you can execute them from code if need be. The set of items is completely customizable. If you want to remove an unnecessary command or even add a custom command this is easily doable as the controls takes a list of IEditorTools which can contain as many or as few commands you want to.
See the available Blazor Editor Tools
The table resizing feature in the Telerik UI for Blazor Editor component is enabled by default. The editor supports resizing for columns, rows and table. The resizing feature includes handles which are rendered on hovering the column and row borders. Analogically, the image resizing feature is enabled by handles positioned in every corner of the image.
The Blazor Text Editor control can be configured to work either as an IFrame (the default) or as a Div. The difference between the two is the type of element which hosts the content area. When the content is displayed in an IFrame, it doesn’t inherit CSS rules from the current page. This makes it impossible to erroneously introduce a style which will break the editor but may also be limiting.
The Editor component now allows you to add media tags such as video, audio and iframe (including nested source tags).See how to plug media into Telerik Blazor Editor.
Saving your users’ time and effort by integrating an editor in your web app is the core premise of this control so saving another couple of clicks of adding new images as opposed to simple copy/paste is only natural.
The Blazor Rich Text Editor component supports copying and pasting images directly in the editing area with some limitations due to browser permissions. Check the docs for information about the limitations.
The HTML format of the generated document might be impractical in some situations where you would need a more standard one like .doc, .rtf or .pdf. Your Blazor license also includes access to the Telerik Document Processing Tools which you can use to import and export the contents of the Editor to your preferred file type.
Every once in a while (100ms by default), if the user has changed the contents of the Editor, the control will trigger the ValueChanged event.
The built-in tools are fully localizable, and their tooltips will change depending on the currently active language. This makes the editor usable in any app, regardless of the user's language skills.
Learn more about Telerik UI for Blazor Editor localization
Like most other Telerik UI for Blazor components, the Editor has built-in Keyboard Navigation implemented which allows you to easily navigate through it by using just the keyboard.
The Telerik UI for Blazor Rich Text Editor component supports right-to-left configuration. The RTL functionality is supported by most of our components to accommodate users who communicate in a right-to-left language script, such as Arabic and Hebrew.