A rich text editor with a configurable toolbar, rendered as its own contained element.
This demo has no adjustable settings, it shows the Editor at a fixed height. See the Editor Popup demo for attaching the Editor to plain contenteditable elements instead.
contenteditable
<div id="editor" ui-type="Editor" ui-editor-height="500px" ui-iframe="false"></div>
const editor = $UI.createComponent(componyx.UI.Editor, { id: 'editor', editorHeight: '500px', iframe: false, containerElement: document.body }); editor.show();
See the Editor API reference for the complete list of properties, events and methods, including toolbar configuration and PDF export. See the Editor Popup demo for inline editing at multiple positions on a page.