commajs
Quickstart
Packaged to match your needs
You can install CommaJS using npm. Depending on your needs you can install one of the following:
commajs: Our plug and play distribution, all included, easy to install and customize.
commajs-naked: Just like commajs but it does not include the toolbar. Perfect if you want to build your own toolbar to better fit the look and feel of your app.
commajs-core: commajs engine with no plugin included. The perfect starting point if you want to pick and choose the plugins you want to install. For more information check out our plugins quickstart page.
commajs
commajs-naked
commajs-core
Installation
To install CommaJS, just type in the following command:
npm install commajs
Once installation is completed, embed this code inside your HTML file:
<link href="node_modules/commajs/css/commajs.min.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="node_modules/commajs/js/commajs.min.js"></script>
Initialization
Add an empty div to your document to be your editor container:
<div id="rich-text-editor"></div>
Initialize CommaJS:
var commajs = new CommaJS('rich-text-editor');
That's all! You are now ready to start playing with CommaJS.
Installation
To install CommaJS, just type in the following command:
npm install commajs-naked
Once installation is completed, embed this code inside your HTML file:
<link href="node_modules/commajs-naked/css/commajs.min.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="node_modules/commajs-naked/js/commajs.min.js"></script>
Initialization
Add an empty div to your document to be your editor container:
<div id="rich-text-editor"></div>
Initialize CommaJS:
var commajs = new CommaJS('rich-text-editor');
That's all! You are now ready to start playing with CommaJS.
Installation
To install CommaJS, just type in the following command:
npm install commajs-core
Once installation is completed, embed this code inside your HTML file:
<script type="text/javascript" src="node_modules/commajs-core/js/commajs.min.js"></script>
Initialization
Add an empty div to your document to be your editor container:
<div id="rich-text-editor"></div>
Initialize CommaJS:
var commajs = new CommaJS('rich-text-editor');
That's all! You are now ready to start playing with CommaJS.
 
© 2020 Plugg, Inc. All rights reserved. Various trademarks held by their respective owners.
Plugg, Inc. - San Francisco, CA 94114, United States