Skip to content

Instantly share code, notes, and snippets.

@yaru22
Created February 24, 2013 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaru22/5024427 to your computer and use it in GitHub Desktop.
Save yaru22/5024427 to your computer and use it in GitHub Desktop.
Minimal TinyMCE Setup
<script src='path-to-tinymce-folder/tiny_mce.js'></script>
<textarea id='textArea1' style='width:100%'>
<p><h2>TinyMCE is so easy to setup!</h2></p>
</textarea>
<script>
tinyMCE.init({
mode: 'exact', // converts elements of the specified names as listed in the elements option into the rich text editor
elements: 'textArea1'
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment