Skip to content

TinyMCE Editor

The TinyMCE Editor field type allows you to fill text in TinyMCE Editor provided by https://www.tiny.cloud/.

Options

OptionDescription
TinyMCE Editor IDThe ID of the TinyMCE editor element. This is used to identify the editor instance.
TinyMCE Editor Index NumberThis is used to specify the index number of the editor if you have multiple editors on the same page. The index starts from 1.
How to fill text in the TinyMCE editor with Javascript?
js
tinymce.get("description1").setContent("<p>Your content here</p>");

Field Value

You can provide content/value directly in the field's default value option.

Examples of TinyMCE

Released under the MIT License.