Created
February 24, 2013 16:27
-
-
Save yaru22/5024427 to your computer and use it in GitHub Desktop.
Minimal TinyMCE Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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