Important changes to Tiny Cloud pricing > Find out more

tinymce

Global APIs for working with the editor.

tinymce

TinyMCE core class.

tinymce.AddOnManager

This class handles the loading of themes/plugins or other add-ons and their language packs.

tinymce.Annotator

This is the annotator api.

tinymce.Editor

This class contains the core logic for a TinyMCE editor.

tinymce.EditorCommands

This class enables you to add custom editor commands and it contains overrides for native browser commands to address various bugs and issues.

tinymce.EditorManager

This class used as a factory for manager for tinymce.Editor instances.

tinymce.EditorObservable

This mixin contains the event logic for the tinymce.Editor class.

tinymce.Env

This class contains various environment constants like browser versions etc. Normally you don't want to sniff specific browser versions but sometimes you have to when it's impossible to feature detect. So use this with care.

tinymce.Event

This is the base class for all TinyMCE events.

tinymce.FocusManager

This class manages the focus/blur state of the editor. This class is needed since some browsers fire false focus/blur states when the selection is moved to a UI dialog or similar. This class will fire two events focus and blur on the editor instances that got affected. It will also handle the restore of selection when the focus is lost and returned.

tinymce.Formatter

Text formatter engine class. This class is used to apply formats like bold, italic, font size etc to the current selection or specific nodes. This engine was built to replace the browser's default formatting logic for execCommand due to its inconsistent and buggy behavior.

tinymce.NotificationManager

This class handles the creation of TinyMCE's notifications.

tinymce.Plugin

Plugin base class, this is a pseudo class that describes how a plugin is to be created for TinyMCE. The methods below are all optional.

tinymce.Shortcuts

Contains logic for handling keyboard shortcuts.

tinymce.Theme

TinyMCE theme class.

tinymce.UndoManager

This class handles the undo/redo history levels for the editor. Since the built-in undo/redo has major drawbacks a custom one was needed.

tinymce.WindowManager

This class handles the creation of native windows and dialogs. This class can be extended to provide for example inline dialogs.

Can't find what you're looking for? Let us know.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.