Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grapesjs-blocks-flexbox

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grapesjs-blocks-flexbox

Add the flexbox block

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
563
decreased by-39.27%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 12 Jun 2023

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