Hello Techno Smarter QA Support?
I am working on the Blog project and I have created a blog page in PHP. Every time when I insert a new blog post its directly store in DB. I am using the TinyMCE text editor to insert the blog post into the MySQL database table. I have an issue with the TinyMCE text editor in HTML form. I applied the TinyMCE text editor in the text area but did not get a better solution.
So, When I am using class mediator it's not showing the textarea as HTML text editor.
I am attaching a screenshot.
I am using TinyMCE text editor JS and tools with extra plugins. You can check the code for the TinyMCE text editor. I am integrating the TinyMCE text editor in HTML with the code below.
<script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
<script>
tinymce.init({
mode : "specific_textareas",
editor_selector : "mceEditor",
plugins: [
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code fullscreen",
"insertdatetime media table contextmenu paste"
],
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
});
</script>
<label>Description</label>
<textarea row="3" class="mceEditor" name="blog_description" required="required" class="form-control" ></textarea>
The TinyMCE text editor is working properly but I have an issue with teaxarea space. How to fix this issue.