stivehu/base64image 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stivehu/base64image

最新稳定版本:0.0.2

Composer 安装命令:

composer require stivehu/base64image

包简介

ckeditor plugin. Adds images from local client as base64 string into the source without server side processing.

README 文档

README

Created by ALL-INKL.COM - Neue Medien Münnich - 04. Feb 2014

Adds images from local client as base64 string into the source without server side processing. You can also add external image urls into the source.

Requirements

The Browser must support the JavaScript File API.

Installation

  1. Download the plugin from http://github.com/stivehu/base64image

  2. Either run

php composer.phar require --prefer-dist stivehu/base64image "*"

or add

"stivehu/base64image": "*"
  1. Add your composer.json this lines:
  "scripts": {
    "post-update-cmd": [
      "cp -r vendor/stivehu/base64image vendor/ckeditor/ckeditor/plugins/base64image",
      "sed -i 's/^};$/};\\nCKEDITOR.config.extraPlugins = \"base64image\";/g' vendor/ckeditor/ckeditor/config.js",
      "awk -i inplace '!a[$0]++'  vendor/ckeditor/ckeditor/config.js"
    ],
    "post-install-cmd": [
      "cp -r vendor/stivehu/base64image vendor/ckeditor/ckeditor/plugins/base64image",
      "sed -i 's/^};$/};\\nCKEDITOR.config.extraPlugins = \"base64image\";/g' vendor/ckeditor/ckeditor/config.js",
      "awk -i inplace '!a[$0]++'  vendor/ckeditor/ckeditor/config.js"
    ]
  },

统计信息

  • 总下载量: 7.42k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 49
  • 开发语言: JavaScript

其他信息

  • 授权协议: proprietary
  • 更新时间: 2021-05-28