Home
Softono
lite-editor

lite-editor

Open source MIT JavaScript
177
Stars
11
Forks
36
Issues
10
Watchers
8 months
Last Commit

About lite-editor

# LiteEditor [![npm version](https://badge.fury.io/js/lite-editor.svg)](https://badge.fury.io/js/lite-editor) [![CircleCI](https://circleci.com/gh/appleple/lite-editor/tree/master.svg?style=shield)](https://circleci.com/gh/appleple/lite-editor/tree/master) [![npm download](http://img.shields.io/npm/dm/lite-editor.svg)](https://www.npmjs.com/package/lite-editor) [![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://raw.githubusercontent.com/appleple/lite-editor/master/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 - [npm](https://www.npmjs.com/package/lite-editor) - [standalone](https://unpkg.com/[email protected]/js/lite-editor.es.js) via npm ```shell npm install lite-editor --save ``` or yarn ```shell yarn add lite-editor ``` ## Usage require ```js import LiteEditor ...

Platforms

Web Self-hosted

Languages

JavaScript

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

import LiteEditor from '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.