Examples

Richtexteditor Configuration

Richtexteditor allows several ways to customize it to suit your needs.

For example:

You can customize the toolbar using editor.toolbar property.


<script>
  var editor1cfg = {}      
  editor1cfg.toolbar = "basic";      
  var editor1 = new RichTextEditor("#div_editor1", editor1cfg);   
</script>

As you can see, configurations are set by a simple JavaScript object passed to the editor instance.

You can customize the skin using editor.skin property.


<script>
   var editor2 = new RichTextEditor("#div_editor2", { skin: "rounded-corner", toolbar: "basic" });   
</script>

Configuration Reference

See Configuration Reference to learn about all available configuration options.