Methods
install(editor)
Install into a TinyMCE editor instance several core features related to files, including all of the following.
- File menu items:
- New
- Open
- Save
- Save as
- Delete a document
- Embed
- An auto-save timer that stores a copy of the current document every few seconds when it is dirty (if the app options enable this feature)
- A popup dialog that appears on app launch if and only if there is an existing auto-saved document, offering to reload that unsaved work (if the app options enable this feature)
Parameters
-
editor
tinymce.Editor
the TinyMCE editor instance into which the new menu item should be installed