Richtexteditor Installation

1. Compiled JS & CSS

Compiled CSS, JS The fastest way to get Richtexteditor is to download the precompiled and minified versions of CSS and JavaScript.


2. Include the JS & CSS:
  1. <link rel="stylesheet" href="/richtexteditor/rte_theme_default.css" />  
  2. <script type="text/javascript" src="/richtexteditor/rte.js"></script>  
  3. <script type="text/javascript" src='/richtexteditor/plugins/all_plugins.js'></script>  
3. Create a new TEXTAREA element with all of the content that you want inside the Editor.
  1. <textarea id="inp_editor1" >
  2.  &lt;p&gt;Initial Document Content&lt;/p&gt; 
  3. </textarea>  
4. Replace <textarea id="inp_editor1"> with a richtexteditor instance.
  1. <script>  
  2.     var editor1 = new RichTextEditor("#inp_editor1");  
  3. </script>