2.1 released. This version removes the backend-related code and is submitted purely by ajax. Please configure neditor.config.js neditor.service.js to support various backend or cloud storage.
This project requires your support and donation to support the development of this project.
Method 1: Complete installation package (recommended)
Method 2: npm installation
npm i @notadd/neditor -S
Method 3: Compile and install
git clone https://github.com/notadd/neditor.git
npm install
npm run build Go to the directory dist and use the browser to open the file index.html .
If you see an editor like this, congratulations, your first deployment was successful!
Angular version of Neditor
Vue version Neditor 【Third-party maintenance】
Rails version of Neditor 【Third-party maintenance】
The project is open source based on the MIT protocol and can be used for free by any organization/enterprise and individual (copyright reserved).
If you need additional commercial technical support or custom editor, please contact QQ: 1256985886
Other versions to be added
The editor has many customizable parameter items, which can be passed to the editor when instantiated:
var ue = UE . getEditor ( 'container' , {
autoHeight : false
} ) ; Configuration items can also be modified through the neditor.config.js file. For specific configuration methods, please refer to [Front-end Configuration Item Description] (http://fex.baidu.com/ueditor/#start-config1.4 Front-end Configuration Item Description.md) and Back-end Configuration Item Description
The editor upload logic is configured separately in the neditor.service.js file. For specific configuration methods, please refer to the comments.
The getContent and setContent methods can be used to set and read the editor's contents.
var ue = UE . getContent ( ) ;
ue . ready ( function ( ) {
//设置编辑器的内容
ue . setContent ( 'hello' ) ;
//获取html内容,返回: <p>hello</p>
var html = ue . getContent ( ) ;
//获取纯文本内容,返回: hello
var txt = ue . getContentTxt ( ) ;
} ) ;For more APIs of Ueditor, please see the API documentation
Neditor code cloud: http://gitee.com/notadd/neditor
Neditor github address: http://github.com/notadd/neditor
Ueditor official website: http://ueditor.baidu.com
Ueditor API documentation: http://ueditor.baidu.com/doc
Ueditor Documentation: http://fex.baidu.com/ueditor/
Note: Compatibility is no longer promised for IE8 and below versions
Use Youpai Cloud CDN service to support cross-domain and https.
If necessary, you can also change the following domain name to your own.
imgbaidu.b0.upaiyun.com
tingapi.b0.upaiyun.com
Neditor official communication group: 257753500
QQ Group: 321735506
Issue
https://github.com/notadd/notadd