grapesjs-plugin-social

GrapesJS Plugin Social

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
grapesjs-plugin-social
400.0.114 years ago5 years agoMinified + gzip package size for grapesjs-plugin-social in KB

Readme

Options

|Option|Description|Default| |-|-|- |option1|Description option|default value|

Download

  • NPM
npm i grapesjs-plugin-social
  • GIT
git clone https://github.com/omarmd1986/grapesjs-plugin-social.git

Usage

<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-plugin-social.min.js"></script>

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

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

Development

Clone the repository
$ git clone https://github.com/omarmd1986/grapesjs-plugin-social.git
$ cd grapesjs-plugin-social

Install dependencies
$ 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