New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grapesjs-plugin-s3

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grapesjs-plugin-s3

Enable s3 uploader inside the Asset Manager

  • 0.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by75%
Maintainers
1
Weekly downloads
 
Created
Source

GrapesJS S3

This plugin replaces the default file uploader with the one from Filestack

Summary

  • Plugin
    • Name: gjs-plugin-s3
    • Options:
      • imgFormats: ["png", "jpeg", "jpg"],
      • bucketName: "bodylesscms",
      • prefix: "content/img/",
      • accessKeyId: <AWS Access key Id>,
      • secretAccessKey: <Aws secret access key>,
      • sessionToken: <AWS Sessions Token>

Download

  • npm i grapesjs-plugin-s3

Usage

<link href="path/to/grapes.min.css" rel="stylesheet"/>
<link href="path/to/grapesjs-plugin-s3.css" rel="stylesheet"/>

<script src="path/to/grapes.min.js"></script>
<script src="path/to/grapesjs-plugin-s3.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container : '#gjs',
      plugins: ['gjs-plugin-s3'],
      pluginsOpts: {
        'gjs-plugin-s3': {/* ...options */}
      }
  });
</script>

Development

Clone the repository

$ git clone https://github.com/chaitanya11/grapesjs-plugin-s3.git
$ cd grapesjs-plugin-s3

Install it

$ npm i

The plugin relies on GrapesJS via peerDependencies so you have to install it manually (without adding it to package.json)

$ npm i grapesjs --no-save

Start the dev server

$ npm start

License

BSD 3-Clause

Keywords

FAQs

Package last updated on 10 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc