LiteEditor

A Modern WYSIWYG Editor especially for inline elements
GitHub
176
Created 7 years ago, last commit 2 months ago
5 contributors
506 commits
Stars added on GitHub, month by month
0
0
0
0
0
0
0
0
0
0
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.1
/day
Last month
0.0
/day
Last 12 months
0.0
/day
npmPackage on NPM
Monthly downloads on NPM
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
README

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.