TinyMCE, After Adding code, Edit Again Not Working

Generic placeholder image
Brijpal Sharma
html css  

Date:-June 20th, 2018 , Posted On:- Web Development


Code sample Plugin used to add Code In our Websites But After Adding Code, Again Edit not Working Properly.

Step 1

Download TinyMce Above this 4.5 version.

<script src="tinymce/tinymce.min.js"></script>
<script>tinymce.init({ selector:'textarea' });</script>

Step 2

Add this code at this head.

<textarea name="body" class="form-control"><?= htmlentities($body) ?></textarea>

Here We Use "htmlentities($body)"  for Fetch Data and print into the Text area box. Hope Its Help You.

 


About the author

user profile
Brijpal Sharma

Hello, My Name is Brijpal Sharma. I am a Web Developer, Professional Blogger and Digital Marketer from India. I am the founder of Codermen. I started this blog to help web developers & bloggers by providing easy and best tutorials, articles and offers for web developers and bloggers...

0 comments

You must be logged in to post a comment.