appleple / lite-editor

A Modern WYSIWYG Editor especially for inline elements

Home Page:https://appleple.github.io/lite-editor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Modern WYSIWYG Editor especially for inline elements

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

License:MIT License


Languages

Language:JavaScript 96.2%Language:SCSS 1.4%Language:HTML 1.3%Language:CSS 1.2%