Important changes to Tiny Cloud pricing > Find out more

Preview plugin

Shows a popup of the current content in read-only format.

Contribute to this page
+ toolbar button + menu item

This plugin adds a preview button to the toolbar. Pressing the button opens a dialog box showing the current content in a preview mode. It also adds a menu item Preview under the File and View menu dropdowns.

Type: String

  selector: "textarea",  // change this value according to your HTML
  plugins: "preview",
  menubar: "view",
  toolbar: "preview"


The Preview plugin provides the following JavaScript command.

Command Description
mcePreview Displays a preview of the editor contents.



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.