Skip to main content

What's new

Version 2.1

Released on June 22, 2026

New functionality

  • The imageUploadUrl is optional: when omitted, images are inserted inline as base64 data URLs with no server required
  • Drag-and-drop image insertion: drop an image file directly into the editor area
  • Markdown support: parse and serialize editor content as Markdown via the markdown encoder in setValue(), getValue(), and insertValue() methods (see the RichText. Working with different formats (Markdown, HTML, text) sample)
  • Mentions, tags, and custom dropdown triggers via the triggers property: type a character such as @, #, /, or : to open a suggestion dropdown and insert the selected item as a non-editable token (see the Mentions and tags guide and the RichText. Mentions, tags, and async lookup sample)
  • Custom rendering for suggestion items through the triggerTemplate property (for example, an avatar with a name and an email) (see the RichText. Custom dropdown template per trigger sample)
  • Custom action when a user selects a trigger: run your own code (insert an emoji, trigger a slash-style command, and more) instead of inserting a token (see the RichText. Emoji autocomplete and RichText. Slash commands samples)
  • Clipboard support (copy, cut, and paste) that preserves formatting between RichText instances and inserts external content as plain text
  • Word- and line-scope deletion shortcuts: delete the previous/next word with Ctrl+Backspace / Ctrl+Delete (Windows/Linux) or Opt+Backspace / Opt+Delete (macOS); delete the previous/next visual line with Cmd+Backspace / Cmd+Delete (macOS only)
  • New hotkeys for changing block indentation: increase a block's indentation with Tab and decrease it with Shift+Tab; inside lists, the same keys nest and lift items

New API

New properties

  • triggers — Defines dropdown triggers for inserting mentions, tags, and other tokens
  • triggerTemplate — Customizes how RichText renders items in the suggestion dropdown

New methods

New events

  • show-suggest — Fires when the suggestion dropdown opens for a configured trigger
  • insert-token — Fires after the user picks a suggestion item in the dropdown and RichText inserts it as a token
  • hide-suggest — Fires when the suggestion dropdown closes

Fixes

  • Issues with pasting inline content (including content placed inside or near inline elements such as mentions and images)
  • Dropping an image onto itself throws an error

Version 2.0.6

Released on May 28, 2026

New functionality

  • Context-aware OL/UL toolbar buttons that toggle or convert lists based on the selection
  • Changing list nesting level with the Indent and Outdent buttons
  • Exiting a list or reducing its nesting by pressing Enter in an empty list item
  • Distinct color for visited links

New API

New events

  • toggle-list — Fires when a user toggles a list on the selected blocks

Fixes

  • Incorrect horizontal alignment of list markers
  • Inconsistent padding between numbered and bulleted lists
  • Clear formatting does not clear block-level properties
  • Incorrect styling of headings and blockquotes inside list items
  • Stray input element visible inside horizontal lines
  • Editor freezes when inserting a horizontal line in the middle or at the end of a list

Version 2.0.5

Released on March 6, 2026

Fixes

  • IME input is not processed correctly
  • Composition-based input (e.g., Chinese, Japanese, Korean on desktop) is not processed correctly
  • margin-left and line-height properties are ignored when parsing HTML
  • Inline elements inherit properties from block-level parents
  • Unable to copy text between two editor instances
  • Selection is incorrectly handled with two (or more) editor instances active
  • Cursor is incorrectly positioned when only content in paragraph is an image
  • Indefinite wrapping of subscript and superscript elements
  • Pasting images inlines them instead of uploading them first
  • Empty inline blocks cannot be removed at specific positions (first or last line)
  • Editor does not scroll to cursor when typing
  • Input on Android is not processed correctly
  • Incorrect selection handling for HR elements
  • Incorrect render with empty initial values
  • Copying content may fail if it contains self-closing blocks
  • Chrome: cannot insert emojis from context menu
  • Firefox: select all (CTRL+A) is not handled correctly

Version 2.0.4

Released on October 15, 2025

Fixes

  • Incorrect range selection for paragraphs
  • Link popups are not displayed when adjacent to linked images
  • Initial toolbar values are not accurate relative to actual content

Version 2.0.3

Released on August 27, 2025

Fixes

  • Clicking on a horizontal line causes a script error
  • The default line height is incorrect
  • Content styles include duplicate selectors
  • Plain text blocks ignore style changes when parsing HTML
  • The parser ignores escaped font names in HTML
  • The parser ignores margin-left and line-height properties in HTML

Version 2.0.2

Released on August 4, 2025

Fixes

  • Updated package content

Version 2.0.1

Released on July 30, 2025

Fixes

  • Update type definitions for the defaultStyles property

Version 2.0

Released on July 30, 2025

note

API of v1.2 is not compatible with v2.0. Refer to the migration guide for additional information.

New Functionality

New API

New properties

New methods

New internal methods

New events

A full list of new events is available here

Updated API

Updated properties

Updated methods

Updated internal methods

Removed API

warning

Do not use the removed API in your projects!
Refer to the Migration topic for more information.

Removed properties

Removed methods

  • exitFullScreen()
  • fullScreen()
  • getEditorAPI()
  • getStats()
  • paint()

Removed internal methods

Removed events

  • Action
  • Change
  • selectionChange
  • selectionRefresh