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.
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 DIV element with all of the content that you want inside the Editor.
- <div id="div_editor1" >
- <p>Initial Document Content</p>
- </div>
4. Replace <div id="div_editor1"> with a richtexteditor instance.
- <script>
- var editor1 = new RichTextEditor("#div_editor1");
- </script>