Socket
Socket
Sign inDemoInstall

grapesjs-blocks-flexbox

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    grapesjs-blocks-flexbox

Add the flexbox block


Version published
Weekly downloads
1.3K
decreased by-13.65%
Maintainers
1
Install size
14.7 kB
Created
Weekly downloads
 

Readme

Source

GrapesJS Blocks Flexbox

This plugin adds the Flexbox block which allows creating easily flexible and responsive columns

Demo

Summary

  • Plugin name: grapesjs-blocks-flexbox
  • Blocks
    • flexbox

Options

OptionDescriptionDefault
stylePrefixClasses prefix''
flexboxBlockUse this to extend the default flexbox block{}
labelRowRow labelRow
labelColumnColumn labelColumn

Download

  • CDN
    • https://unpkg.com/grapesjs-blocks-flexbox
  • NPM
    • npm i grapesjs-blocks-flexbox
  • GIT
    • git clone https://github.com/GrapesJS/blocks-flexbox.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-blocks-flexbox.min.js"></script>

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

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

Development

Clone the repository

$ git clone https://github.com/GrapesJS/blocks-flexbox.git
$ cd blocks-flexbox

Install dependencies

$ npm i

Start the dev server

$ npm start

License

BSD 3-Clause

Keywords

FAQs

Last updated on 12 Jun 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc