Cloud Blocks

Description

IMPORTANT: THIS PLUGIN IS IN BETA UNTIL WP 5.0

Gutenberg Cloud: Your online library of blocks! Cloud Blocks is the only plugin you need to browse and install new blocks:

  • Discover and install custom blocks with a click
  • Install only the blocks you need – no huge plugin collections needed
  • Reuse blocks between WordPress and Drupal
  • Serve the blocks from a CDN

Why use Gutenberg Cloud?

Installing an actual plugin for each block or block collection easily leads to managing lots of code that you don’t really need. It’s like having one app for each website you visit, instead of just installing a web browser. With the block manager, you have a growing library at your fingertips, without the bloat.

Getting started

  1. Install the plugin
  2. Click the new cloud icon in the main menu
  3. Browse around and click a block to see description, version and bigger screenshot
  4. Activate a few blocks. Voila – these are now available to you in the Gutenberg editor!

How it works under the hood

Gutenberg Cloud is a service that fetches Open Source Gutenberg blocks hosted on NPM. The assets from these are served from CloudFlare using unpkg.com. The Cloud Blocks plugin provides an interface in WordPress for Gutenberg Cloud.

Code once, use everywhere: Since the blocks are JS/CSS only, they are CMS agnostic. This means you can develop a block for a Drupal site, and reuse it later on a WordPress blog.

1.0.8

  • Fix: Fix some issues in previous version release

1.0.7

  • Change: Private custom blocks now should be under wp-content/uploads/gutenberg-blocks/
  • Add: Implement UI to upload zip file with custom block issue #3
  • Fix: Fix a bug about enqueue custom blocks assets issue #4
  • Fix: Fix an issue with javascript if search query is empty

1.0.6

  • Add: Implement order for blocks (Latest or Popular)
  • Fix: Block counter in popular and latest tabls
  • Fix: Display block author
  • Change: Blocks homepage url
  • Change: If there is no installed blocks, redirect to Popular tab instead of Installed
  • Change: Update documentations

1.0.5

  • Add: Add modal with block info (like themes) issue #2
  • Fix: Limit enqueue of block styles only to editor or front-end

1.0.4

  • Fix: Fix translations variable name in javascript files
  • Change: Update readme

1.0.3

  • Change: Update readme
  • Add: More docs

1.0.2

  • Change: Some translation fixes
  • Change: Better documentation and screenshot
  • Added: Italian translation. (Thanks to cipo28)

1.0.1

  • Fix: is_plugin_active() undefined fix
  • Fix: Change strings functions to static

1.0.0

  • Initial plugin

Screenshots

  • Discover and install blocks

Installation

Install it just like any other plugin. It just works!

FAQ

Is it secure to run blocks from other people?

The team checks submitted blocks on NPM, and will blacklist bad ones. As the number of blocks increases, we might switch to whitelisting each block upon request, rather than blacklisting.

How do I migrate a block collection plugin to Gutenberg Cloud?

This simply means removing some PHP, adding some meta data and publishing on NPM. Follow these simple steps.

How do I create a custom block for Gutenberg Cloud?

Gutenberg Cloud blocks are really just normal Gutenberg blocks, without the PHP. Follow these steps to do it!

How do I disable CSS for a single block?

This is useful for letting your theme control your block styles. There’s a hook for this, documented here.

Why is the plugin called Cloud Blocks?

We wanted to name it Gutenberg Cloud, but since it’s not possible to name a plugin starting with the name of another plugin (i.e. Gutenberg), we ended up calling it Cloud Blocks. Makes sense though, doesn’t it?

Are the blocks really served from “the cloud”?

Indeed, they are! The source code for each block is on NPM, but the JS/CSS is served by a CDN. No local downloads!

Can I add private custom blocks?

Sure! Just add your custom blocks into wp-content/uploads/gutenberg-blocks/ folder. This is what the folder structure should look like!

Reviews

Great concept!

The great thing about the Gutenberg editor are blocks, and the great thing about blocks is Gutenberg Cloud as their repository. This plug-in is the only one you’ll ever need to expand the selection of blocks for your website. From a user perspective, adding blocks works the same way like adding themes or plug-ins, so it’s simple, fast and intuitive. If you are using Gutenberg, you absolutely need this plug-in.

Read all 0 reviews

Contributors & Developers

“Cloud Blocks” is open source software. The following people have contributed to this plugin.

Contributors

“Cloud Blocks” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Cloud Blocks” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.