Skip to content

appleple/lite-editor

Repository files navigation

LiteEditor

npm version CircleCI npm download GitHub license

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

Download ZIP

Plugins

Github

https://github.com/appleple/lite-editor

Contributor

@steelydylan

License

Code and documentation copyright 2017 by appleple, Inc. Code released under the MIT License.