Add HTML Editor (WYSIWYG) To Website.

The full form of WYSIWYG is What You See Is What You Get. WYSIWYG editor is driven by JavaScript through which  users enter the formatted text. The WYSIWYG editor is converting the formatted text to HTML when the web form is submitted to the server. 
TinyMCE is web-based WYSIWYG editor which enables you to convert HTML textarea fields  to an editor. Here we’ll show you the simple steps to add TinyMCE editor to website or webpage by using JavaScript Code.

Index.html
<html>
<head>
<script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script>
<script>
         tinymce.init({
        selector:'textarea',
        height: 300,
        width: 300,
        });
</script>
</head>
<body>
<textarea></textarea>
</body>
</html>
Output:

No comments:

Post a Comment

Labels

php (35) javascript (31) phpjavascript (30) jquery (23) html (20) mysql (14) database (9) codeigniter (4) json (4) bar chart (2) calendar (2) column chart (2) framework (2) google maps (2) query (2) tables (2) url (2) dropdown (1)

Popular Posts