New to Kendo UI for VueStart a free 30-day trial

Getting and Setting HTML Content

Updated on Jun 29, 2026

The Kendo UI for Vue Native Editor enables you to programmatically get the HTML content of the Editor and set an updated version back.

Getting and Setting HTML Content with Basic Tools

Use the EditorUtils.getHtml and EditorUtils.setHtml methods exposed on the Editor instance to read and write its HTML content programmatically.

The following example demonstrates both methods in action using a Button and a TextArea component — click Gets HTML to copy the editor content to the textarea, or edit the textarea and click Sets HTML to push it back into the editor.

Change Theme
Theme
Loading ...