Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appleple/lite-editor
A Modern WYSIWYG Editor especially for inline elements
https://github.com/appleple/lite-editor
babel es2015 json npm ui-components wysiwyg wysiwyg-editor
Last synced: 3 months ago
JSON representation
A Modern WYSIWYG Editor especially for inline elements
- Host: GitHub
- URL: https://github.com/appleple/lite-editor
- Owner: appleple
- License: mit
- Created: 2017-06-14T09:49:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T10:46:32.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T23:59:38.418Z (7 months ago)
- Topics: babel, es2015, json, npm, ui-components, wysiwyg, wysiwyg-editor
- Language: JavaScript
- Homepage: https://appleple.github.io/lite-editor/
- Size: 4.27 MB
- Stars: 175
- Watchers: 12
- Forks: 13
- Open Issues: 36
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - lite-editor
README
# 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.min.js)via npm
```shell
npm install lite-editor --save
```or yarn
```shell
yarn add lite-editor
```## Usage
require
```js
const LiteEditor = require('lite-editor');
``````js
window.addEventListener('DOMContentLoaded',function(){
new LiteEditor('.js-editor');
});
```## Document
[https://appleple.github.io/lite-editor/about.html](https://appleple.github.io/lite-editor/about.html)## Download
[Download ZIP](https://github.com/appleple/lite-editor/archive/master.zip)## Plugins
- [lite-editor-emoji-picker-plugin](https://github.com/appleple/lite-editor-emoji-picker-plugin)## Github
[https://github.com/appleple/lite-editor](https://github.com/appleple/lite-editor)## Contributor
[@steelydylan](https://github.com/steelydylan)## License
Code and documentation copyright 2017 by appleple, Inc. Code released under the [MIT License](https://github.com/appleple/lite-editor/blob/master/LICENSE).