how do I integrate TinyMCE editor with php? I have downloaded the editor and put it in the js folder in my root directory. I have the following implementation in my code.
    <script type="text/javascript" src="js/tinymce/tinymce.min.js"></script>
    <script type="text/javascript">
    tinymce.init({
        selector: "textarea",
        themes: "modern",   
        plugins: [
            "advlist autolink lists link image charmap print preview anchor",
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table contextmenu paste moxiemanager"
        ],
        toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"   
    });
    </script>
And here's where the text box area is:
     <textarea name="pageBody" id="pageBody" rows="4"></textarea>
When I view the webpage, the text editor is not showing.
Remove the moxiemanager from your plugins: entry. (last entry)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With