Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ggwujun/mobeditor
moble editor
https://github.com/ggwujun/mobeditor
es6 eslint javascript
Last synced: 1 day ago
JSON representation
moble editor
- Host: GitHub
- URL: https://github.com/ggwujun/mobeditor
- Owner: GGwujun
- Created: 2017-11-22T01:40:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-25T03:58:55.000Z (almost 7 years ago)
- Last Synced: 2024-09-18T18:19:58.327Z (about 2 months ago)
- Topics: es6, eslint, javascript
- Language: JavaScript
- Homepage:
- Size: 371 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mobeditor
## 介绍
**mobeditor** —— 轻量级移动端富文本编辑器,配置方便,使用简单。
## 下载
- 直接下载:[https://github.com/GGwujun/MobEditor/blob/master/dist](https://github.com/GGwujun/MobEditor/blob/master/dist)
- 使用`npm`下载:`npm install mobeditor` (注意 `mobeditor` 全部是**小写字母**)## 使用
```javascript
var contentEditor = new mobeditor({
el: '#contentEditor',
placeHolder: 'placeHolder设置占位符',
upload: {
server: '/upload.json',
compress: false,
fileSizeLimit: 2
},
toolbars: [
'insertText',
'editText',
'insertImage',
'insertLink',
'deleteBefore',
'deleteAfter',
'insertHr',
'deleteThis',
'cancel'
]
});
```## 运行 demo
- 下载源码 `git clone https://github.com/GGwujun/MobEditor.git`
- 安装或者升级最新版本 node(最低`v6.x.x`)
- 进入目录,安装依赖包 `cd MobEditor && npm i`## Screenshots
![](Screenshots/all.png)
---
持续更新中,欢迎Star~欢迎下载~
## 交流
### QQ 群
以下 QQ 群欢迎加入交流问题
- 225192209
### 提问
- 直接在 [github issues](https://github.com/GGwujun/MobEditor/issues) 提交问题
### 更新日志
#### v1.0.1 (2017.11.24)
- [done] 发布 v1.0.1