This module exports one function that installs in a TinyMCE editor features for editing application settings, and it also exports the settings object itself, for reading/writing specific settings.
Source
Members
staticconstant
appSettings
This is the global settings object that stores the user's settings in their browser's LocalStorage. It includes metadata for all the settings of the app and gets loaded when the editor is initialized.
See
Source
Methods
static
install(editor)
First, install in a given TinyMCE editor the UI features for editing application settings.
Second, install an event handler so that when the editor finishes its initialization, we load the application settings and apply to the editor any of them that impact its appearance.
Parameters
-
editor
tinymce.Editor
the editor into which to install the features