Monday, 7 August 2017

How To Install Tinymce On your Website

Are you a web developer and want to implement tinymce on your website to make it easy during writing and posting of content to be viewed with some awesome formatting like text color,text size,tables,inserting image,paragraph without any coding,tinymce will do that for you.Today we are going to take a little tutor on how to install tinymce on your website automatically without any coding required.

In this tutorial we are going to be looking at how to install tinymce within a shortest period of time and get it running on your website.

Tinymce can be installed in two ways and we are taking them step by step.

The first one is running it on the cloud.Running tinymce on the cloud just copy and paste this code on your HTML head tags

<script src=""></script>

  <script>tinymce.init({ selector:'textarea' });</script>

This is how is going to be placed on your HTML as shown below

<!DOCTYPE html>



  <script src=""></script>

  <script>tinymce.init({ selector:'textarea' });</script>



  <textarea>Next, get a free TinyMCE Cloud API key!</textarea>



But if you want to run the script on your own website without the cloud method,then follow this procedures successfully.


1. Download the script  here
2. Extract the script to a folder
3. Create a javascript page and name it script.js and paste the below code there.


  selector: 'textarea',

  height: 500,

  theme: 'modern',

  plugins: [

    'advlist autolink lists link image charmap print preview hr anchor pagebreak',

    'searchreplace wordcount visualblocks visualchars code fullscreen',

    'insertdatetime media nonbreaking save table contextmenu directionality',

    'emoticons template paste textcolor colorpicker textpattern imagetools codesample'


  toolbar1: 'insertfile undo redo | styleselect | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',

  toolbar2: 'print preview media | forecolor backcolor emoticons | codesample',

  image_advtab: true,

  templates: [

    { title: 'Test template 1', content: 'Test 1' },

    { title: 'Test template 2', content: 'Test 2' }


  content_css: [





4.Now go to your HTML and search for <head> and place the below code after <head>

  <script src="installation path/tinymce.min.js"></script>

  <script src="script.js"></script>


After all this steps follow successfully,this functionality get the get the  tags <textarea> automatically with that you can be able to editable your items and give them better formatting.

Note:The installation path as mentioned earlier is the folder where the tinymce resides.Below is the demo of tinymce


Get our updates delivered to your inbox

No comments:

Post a Comment

Want to get all latest updates from

Subscribe to DbencoPlanet to get all the latest updates free!