The KendoReact WYSIWYG (What You See Is What You Get) Editor is a Rich Text Editor component to help users create rich text within any React application. The React Editor contains a huge range of available features and tools to help insert, create, modify and save text. The Editor component also supports additional functionality through an extensive plugin system, ensuring that any requirements can be implemented with ease.
The available Tools within the KendoReact Editor include common text editor features, such as:
By default, the KendoReact Editor renders its content in an iframe element. For applications where this may not be the ideal HTML element to deal with, the Editor content can also be rendered inside a div element by changing a single property.
The KendoReact Editor component supports different options for custom rendering (e.g. HTML wrapper elements, tools, dialogs, and more). You can easily create a custom editor with bold, italic, underline, and more options.
The KendoReact Editor allows developers to programmatically get and set the HTML of the Editor. This feature makes implementing requirements like loading and saving content to a database, or running the content through a custom sanitizer as easy as calling a single method.
You can easily add a drag handle interaction when users hover over the edges of the component, giving them an intuitive experience for resizing the React Editor.
When this feature is enabled, users can click on an image to activate a border with indicators they can drag to resize images through a familiar interface.
Configure the table and cell properties and change the table design with the table and cell configurators. The respective configuration dialog will open based on what you have selected in the table.
The table properties dialog offers the following options:
General tab, enabling you to modify table width, height, cell spacing, alignment, borders, and much more.
Accessibility tab, delivering different options for the header rows and columns, captions, alignment, and more.
The cell properties dialog, on the other hand, enables you to control the cell width, height, alignment, background, borders, and more.
The KendoReact Editor supports a variety of selection scenariosâfrom simple text selection to node and cell selection. The WYSIWYG Editor can also automatically extract the HTML from the Editor's content upon selection, or extract content when a user presses a button.
Copying and pasting content from other rich text editors, or desktop word processing applications like Microsoft Word, often comes with extra and overcomplicated HTML. Thankfully, this React Editor contains built-in functions around sanitizing content to make the pasted HTML as clean as possible. The amount of sanitation can be customized to be a light stripping of certain attributes, or go as far as to just paste the plain text of the copied content.
For scenarios that require additional functionality beyond what is available within the KendoReact Editor, the plugin architecture enables developers to create custom tools and integrate them into the Editor without having to access and modify the underlying source code.
The KendoReact Editor supports the import and export of the component content in markdown format.
With an extensive list of features and tools available, the KendoReact Editor has many built-in strings to help users understand what each tool is responsible for. By default, these are all written in English, but modifying these to fit any language can be done across the entire component, or one message at a time. Additionally, the React Editor supports being rendered in right-to-left modes.
While the KendoReact Editor offers an extensive list of tools and interactivity, it can still be interacted and navigated with ease using just a keyboard. Any aspect of the Editor, as well as its content, can be accessed with simple keyboard interactions.
Continuing a tradition of putting accessibility at the forefront of building React UI components, the KendoReact Editor is AAA rated for WCAG 2.0, and compliant with both WAI-ARIA and Section 508 standards.