Add TinyMCE editor in PHP or HTML

How to setup TinyMCE text editor Follow the below steps to add TinyMCE editor in PHP or HTML file. 1. Add TinyMCE editor’s JS library : <script type=”text/javascript” src=”tinymce/tinymce.min.js”></script> 2. Add HTML textarea to display Editor box : <textarea name=”editor” id=”editor”></textarea> 3. Call the TinyMCE editor function : <script> tinymce.init({ selector: ‘textarea#editor’, //Change this value according to your HTML auto_focus: … Read more