This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
readme.txt
167 lines (117 loc) · 7.03 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
=== Cloud Blocks ===
Contributors: frontkom, foadyousefi, ajotka, ssousa
Author URI: https://frontkom.no
Tags: gutenberg, pagebuilder, blocks, gutenberg blocks, page builder
Requires at least: 4.9.8
Tested up to: 5.2
Requires PHP: 5.4
Stable tag: 1.1.7
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Your online library of Gutenberg blocks! Browse and discover new blocks, and install with a click.
== Description ==
**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 jsdelivr.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.
== Installation ==
Install it just like any other plugin. It just works!
== Screenshots ==
1. Discover and install blocks
== Frequently Asked Questions ==
**Is it secure to run blocks from other people?**
All blocks go through a manual code review before they are published. Waiting for a code review? Email [email protected].
**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](https://github.com/front/cloud-blocks/blob/master/docs/migrate-block.md).
**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](https://github.com/front/cloud-blocks/blob/master/docs/create-block.md)!
**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](https://github.com/front/cloud-blocks/blob/master/docs/hooks.md).
**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](https://github.com/front/cloud-blocks/blob/master/docs/private-blocks.md)!
== Changelog ==
= 1.1.8 =
*Fix: Fix an issue with local blocks directory which was losting every files as block
= 1.1.7 =
* Fix: Fix db error in activator hook
* Change: Dlete db table on plugin uninstallation
= 1.1.6 =
* Fix: Fix missing slash in local blocks
= 1.1.5 =
* Change: Replace unpkg.com CDN in favor of jsdelivr.com
= 1.1.4 =
* Change: Update counter as a WP CRON (Thanks to [ajotka](https://github.com/front/cloud-blocks/pull/14))
* Change: Update some docs
* Fix: Fix polish translations
= 1.1.3 =
* Fix: Fix some translations
* Fix: Fix database table issue if plugin network activated [issue #13](https://github.com/front/cloud-blocks/issues/13)
* Cleanup: Remove custom_blocks method since its not used anymore. This method was for scanning local blocks inside /wp-content/gutenberg-blocks directory
= 1.1.2 =
* Fix: Fix wrong label in block details [issue #9](https://github.com/front/cloud-blocks/issues/9)
* Fix: Fix network activation issue [issue #11](https://github.com/front/cloud-blocks/issues/11)
* Add: Polish translation. (Thanks to [ajotka](https://github.com/front/cloud-blocks/pull/8))
* Add: Update counter & label in menu. (Thanks to [ajotka](https://github.com/front/cloud-blocks/pull/10))
= 1.1.1 =
* Fix: Update blocks if new version available on the cloud
* Enhancement: Improvement in local block screenshots. The filename can be both screenshot or thumbnail and it could be in blocks root directory or build folder
= 1.1.0 =
* Fix: Change array dereferencing in activation hook
* Fix: Show block in installed list even after block removed from Gutenberg Cloud
* Fix: Don't display Installed notice on blocks in Installed tab
* Fix: Search blocks in installed and local blocks
* Add: Listing for local custom blocks, install and delete them (In previous versions, blocks were activated automatically, from now on, you need to explicitly activate/deactivate them in the "Local" tab.)
* Add: Default block screenshot
* Change: Change minimum required php version
* Change: Check for db structure update in upgrader_process_complete hook instead of init
= 1.0.10 =
* Fix: Fix block js dependency introduced in Gutenberg 4.5.1
= 1.0.9 =
* Change: Change increase and decrease number of installations of a block
= 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](https://github.com/front/cloud-blocks/issues/3)
* Fix: Fix a bug about enqueue custom blocks assets [issue #4](https://github.com/front/cloud-blocks/issues/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](https://github.com/front/cloud-blocks/issues/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](https://github.com/front/cloud-blocks/pull/1))
= 1.0.1 =
* Fix: is_plugin_active() undefined fix
* Fix: Change strings functions to static
= 1.0.0 =
* Initial plugin