Skip to content

Latest commit

 

History

History
97 lines (82 loc) · 6.49 KB

File metadata and controls

97 lines (82 loc) · 6.49 KB
sidebar_label API overview
title API Overview
description You can have an API overview of JavaScript RichText in the documentation of the DHTMLX JavaScript RichText library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX RichText.

API overview

RichText constructor

new richtext.RichText("#root", {
    // configuration parameters
});

Parameters:

  • an HTML container (e.g., CSS selector or DOM element)
  • a configuration object (see properties)

RichText methods

Name Description
@getshort(api/methods/get-value.md)
@getshort(api/methods/set-value.md)
@getshort(api/methods/set-config.md)
@getshort(api/methods/set-locale.md)
@getshort(api/methods/destructor.md)

Event Bus methods

Name Description
@getshort(api/internal/exec.md)
@getshort(api/internal/intercept.md)
@getshort(api/internal/on.md)
@getshort(api/internal/detach.md)
@getshort(api/internal/set-next.md)

State methods

Name Description
@getshort(api/internal/get-state.md)
@getshort(api/internal/get-reactive-state.md)

Events

Name Description
@getshort(api/events/align.md)
@getshort(api/events/clear-text-format.md)
@getshort(api/events/copy.md)
@getshort(api/events/create-new.md)
@getshort(api/events/cut.md)
@getshort(api/events/delete-link.md)
@getshort(api/events/export.md)
@getshort(api/events/import.md)
@getshort(api/events/indent.md)
@getshort(api/events/insert-image.md)
@getshort(api/events/insert-line.md)
@getshort(api/events/insert-link.md)
@getshort(api/events/insert-list.md)
@getshort(api/events/outdent.md)
@getshort(api/events/paste.md)
@getshort(api/events/print.md)
@getshort(api/events/redo.md)
@getshort(api/events/resize-image.md)
@getshort(api/events/set-font-family.md)
@getshort(api/events/set-font-size.md)
@getshort(api/events/set-line-height.md)
@getshort(api/events/set-text-color.md)
@getshort(api/events/set-text-format.md)
@getshort(api/events/set-text-style.md)
@getshort(api/events/show-popup.md)
@getshort(api/events/subscript.md)
@getshort(api/events/superscript.md)
@getshort(api/events/toggle-fullscreen-mode.md)
@getshort(api/events/toggle-layout-mode.md)
@getshort(api/events/toggle-shortcut-info.md)
@getshort(api/events/undo.md)
@getshort(api/events/update-link.md)

Properties

Name Description
@getshort(api/config/default-styles.md)
@getshort(api/config/fullscreen-mode.md)
@getshort(api/config/image-upload-url.md)
@getshort(api/config/layout-mode.md)
@getshort(api/config/locale.md)
@getshort(api/config/menubar.md)
@getshort(api/config/toolbar.md)
@getshort(api/config/value.md)