项目作者: anuradhaindika83

项目描述 :
Image Gallery Plugin For SunEditor
高级语言: JavaScript
项目地址: git://github.com/anuradhaindika83/suneditor-gallery-plugin.git
创建时间: 2020-03-22T11:13:42Z
项目社区:https://github.com/anuradhaindika83/suneditor-gallery-plugin

开源协议:MIT License

下载


suneditor-gallery-plugin

Image Gallery Plugin For SunEditor

This is a plugin for the SunEditor.
This will get images from a given REST api and populate it for user to select. The REST API url can be change from the following line of code which is at the editor initilization.

  1. "mediaurl":"http://localhost:8081/images/get"

REST API response

  1. result:= [{url: "/images/img1.jpg",name: "image1"},{url: "/images/img1.jpg",name: "Image2"}]

To see this in action run the following commands

  1. npm install
  2. npm start