Created
October 22, 2019 19:00
-
-
Save AwesomeZaidi/82e20fc7a39ab9d86a31f22c84ce1fc4 to your computer and use it in GitHub Desktop.
Tiny Rich Text Editor Demo
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- <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 id="myForm" action="/action_page.php"> | |
<textarea id="mytextarea" name="mytextarea">Hello, World!</textarea> | |
<button type="button" onclick="myFunction()">Done</button> | |
</form> | |
</body> | |
<script> | |
function myFunction() { | |
document.getElementById("myForm").submit(); | |
} | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment