ckeditor-imgur

0.0.7 • Public • Published

CKEditor Plugin with imgur

This is a plugin for CKEditor to upload images directly to imgur through ckeditor. The plugin is forked from gem ckeditor-imgur which was built by Yi Feng Xie. The original plugin do not need access token of imgur, therefore every image uploaded is anonymous. In this plugin, we modify a little code to upload images with access token.

Usage

First set the parameters below in config.js:

// ./ckeditor/plugins/config.js
config.extraPlugins = 'imgur';
config.imgurClientID = 'CLIENT_ID';
config.imgurClientSecret = 'CLIENT_SECRETE';
config.imgurRefreshToken = 'REFRESH_TOKEN';

Move all the plugin files into ./ckeditor/plugins/imgur.

Imgur API

For more information, check official imgur API or you can check the note here.

Logs

  • 2017-07-23 Change the link of imgur from HTTP to HTTPs
  • 2017-07-20 Add ckeditor imgur for authorized uploading images

Readme

Keywords

Package Sidebar

Install

npm i ckeditor-imgur

Weekly Downloads

0

Version

0.0.7

License

ISC

Last publish

Collaborators

  • andyyou
  • calvert
  • pjchender