How to Integrate TinyMCE editor with php -
how integrate tinymce editor php? have downloaded editor , put in js folder in root directory. have following implementation in 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 text box area is:
<textarea name="pagebody" id="pagebody" rows="4"></textarea>
when view webpage, text editor not showing.
remove moxiemanager plugins: entry. (last entry)
Comments
Post a Comment