Skip to content

Instantly share code, notes, and snippets.

@jeffholst
Created March 11, 2021 22:08
Show Gist options
  • Save jeffholst/10a7868dcc442a728237ad6b1ff2177e to your computer and use it in GitHub Desktop.
Save jeffholst/10a7868dcc442a728237ad6b1ff2177e to your computer and use it in GitHub Desktop.
TinMCE Self-hosted
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./js/tinymce/tinymce.min.js"></script>
<script>
tinymce.init({
selector: '#mytextarea'
});
</script>
</head>
<body>
<h1>TinyMCE Self-hosted</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