Skip to content

q1998763/think-ueditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

think-ueditor

think-ueditor Server-side configuration for ThinkJS3.

Installation

Using npm:

npm install think-ueditor

In thinkjs3:

const ThinkUeditor = require('think-ueditor');
const Base = require('./base.js');

module.exports = class extends Base {
  uploadAction() {
    const ueditor = new ThinkUeditor(this.ctx);
    this.json(ueditor.init());
  }
}

Modify your ueditor.config.js file

window.UEDITOR_CONFIG = {

  ...

  , serverUrl: URL + "../../../ueditor/upload"
  ...

About

think-ueditor thinkjs3 ueditor nodejs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published