Step 1 : create a php file and paste below code. <!DOCTYPE html> <html> <head> <script src="//cdn.tinymce.com/4/tinymce.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script> </head> <body> <textarea class="edittextarea"></textarea> <input name="image" type="file" id="upload" class="hidden" onchange="" style="display: none;"> </body> </html> <script> $(document).ready(function() { tinymce.init({ selector: ".edittextarea",height: 250, theme: "modern", paste_data_images: true, plugins: [ "advlist autolink ...