README
xeditor
xEditor is a rich text editor on the web. React and Angular are currently not supported. 。Online
Features
- Drag and drop upload
- ajax image upload
- base64 image display
- extended class name
- Multi-language support
- Menu classification
- Color configurable
- Style customization
Related Links
- Document: https://www.kancloud.cn/iq9891/xeditor/500799
- CDN
- Download https://github.com/iq9891/xEditor/releases
- vue-xeditor Vue.js 的封装
- Update record
Usage
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>xeditor</title>
<script src="https://unpkg.com/xeditor"></script>
</head>
<body>
<div id="xe" class="xe"></div>
<script>
var myEditor = new window.xEditor('#xe')
myEditor.create();
</script>
</body>
</html>
Run the demo
- Download source
https://github.com/iq9891/xEditor.git
- Install or upgrade the latest version NodeJs (minimum v9.x.x)
- Enter the directory, install the dependency package
cd xEditor && yarn install
- After the installation package is complete, the windows user runs
npm run dev
and the Mac user runsnpm start
- Open browser http://localhost:8080/