lite-editor
v1.6.55
Published
lite-editor
Downloads
2,361
Readme
LiteEditor
A Modern WYSIWYG Editor especially for inline elements
Feature
- focuses on inline elements such as b, a, i, strong
- Prevent unnecessary tags insertion
- Control how to make newlines
- You can register custom button easily
Installation
via npm
npm install lite-editor --save
or yarn
yarn add lite-editor
Usage
require
const LiteEditor = require('lite-editor');
window.addEventListener('DOMContentLoaded',function(){
new LiteEditor('.js-editor');
});
Document
https://appleple.github.io/lite-editor/about.html
Download
Plugins
Github
https://github.com/appleple/lite-editor
Contributor
License
Code and documentation copyright 2017 by appleple, Inc. Code released under the MIT License.