Skip to content

Instantly share code, notes, and snippets.

@jeffholst
Last active March 17, 2021 16:02
Show Gist options
  • Save jeffholst/c6272c9fb3a2ec4ce226d75be9cc1d94 to your computer and use it in GitHub Desktop.
Save jeffholst/c6272c9fb3a2ec4ce226d75be9cc1d94 to your computer and use it in GitHub Desktop.
TinyMCE Quick Start
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
Open Source CDN Service
Uses Open Source TinyMCE
Does not require API key or subscription plan
Does not give access to preimum plugins
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.7.1/tinymce.min.js" referrerpolicy="origin"></script>
<!--
Official Cloud Based CDN (As an alternate to using Open Source CDN above)
Requires subscription plan and API key after free trial
Paid plan gives access to premium plugins
<script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
-->
<script>
tinymce.init({
selector: '#mytextarea'
});
</script>
</head>
<body>
<h1>TinyMCE Quick Start Guide</h1>
<form method="post">
<textarea id="mytextarea">Hello, World!</textarea>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment