TinyMCE Editor

May 21, 2018 ยท View on GitHub

Covers the class of editor APIs identified by Editor:

  • tinymce.activeEditor.insertContent()
  • tinymce.activeEditor.setContent()
  • etc.

Overview

TinyMCE's Editor object provides access to manipulating the TinyMCE editor instance. It can be accessed globally (tinymce.activeEditor) and by ID (tinymce.get('content')).

Some commonly-used methods of the object include insertContent() and setContent(). These methods are often driven by use of a TinyMCE Toolbar Button.

Existing Usage

Please open a new issue to suggest additional examples of existing usage.

Gutenberg Equivalent

There are no Gutenberg equivalents for this API.