Important changes to Tiny Cloud pricing > Find out more

Tiny Quick Start

Get a local instance of TinyMCE up and running in less than 5 minutes.

Contribute to this page

TinyMCE is a powerful and flexible text editor that makes it incredibly easy for people with various levels of technical expertise to create rich content. Tiny Cloud is perfect for anyone who wants an easier installation and upgrade process. This document is the place to start if you are new to TinyMCE and want to get a local editor instance up and running in less than 5 minutes (via our TinyMCE Cloud).

Now, back to getting started with TinyMCE. You'll have a basic local editor instance up and running in the next 3 steps.

Step 1: Include the TinyMCE script

Include this line of code in the <head> of your HTML page:

<script src=''></script>

Tip: We give you a complete HTML snippet in Step 2.

Step 2: Initialize TinyMCE as part of a web form

With the script included, initialize TinyMCE on any element (or elements) in your web page.

Since TinyMCE lets you identify replaceable elements via a CSS selector, all you need to do is pass an object that contains a selector to tinymce.init().

In this example, let's replace <textarea id='mytextarea'> with a TinyMCE editor instance by passing the selector '#mytextarea' to tinymce.init().

<!DOCTYPE html>
  <script src=''></script>
    selector: '#mytextarea'

<h1>TinyMCE Quick Start Guide</h1>
  <form method="post">
    <textarea id="mytextarea">Hello, World!</textarea>

Step 3: Saving content with a form POST

When the <form> is submitted the TinyMCE editor mimics the behavior of a normal HTML <textarea> during the post. In your form handler, you can process the content submitted as if it had come from a regular <textarea>.

So that's all there is to it!

If you prefer to download TinyMCE and install it locally the Advanced Install page in the General Configuration Guide has instructions. This document also provides information about TinyMCE features such as advanced installation options, working with plugins, learning about content filtering, and spell checking.

You may use TinyMCE Cloud without an API key. However, to avoid the in-editor developer warning or use our premium plugins, sign up for an API key and update the script tag used to load the editor code into your application. Please visit the Cloud Deployment Guide to learn more about the plugins and other features of TinyMCE.

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.