Documentation

Richtexteditor Installation

1. Compiled JS & CSS

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

Download

2. Include the JS & CSS:
<link rel="stylesheet" href="/richtexteditor/rte_theme_default.css" />  
<script type="text/javascript" src="/richtexteditor/rte.js"></script>  
<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.
<textarea id="inp_editor1" >
 &lt;p&gt;Initial Document Content&lt;/p&gt; 
</textarea>  
4. Replace <textarea id="inp_editor1"> with a richtexteditor instance.
<script>
    var editor1 = new RichTextEditor("#inp_editor1");
</script>  
5. Customize the editor

The rte.js file ships with the default configuration (rte-config.js) at the top as plain, editable JavaScript — only the licensed editor code below it is obfuscated. Open rte.js in any text editor and tweak values on RTE_DefaultConfig (skin, toolbar preset, language, upload endpoints, keyboard shortcuts, etc.) to change editor defaults globally without rebuilding. See the configuration reference for the full list of options.