-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
85 lines (53 loc) · 2.68 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
=== Demo Content for Blocks ===
Contributors: melonpan
Tags: gutenberg, demo, demo-content, block, content, blocks, dummy
Requires at least: 5.2
Tested up to: 5.4
Stable tag: 1.2.0
Requires PHP: 7.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Add blocks with demo/dummy content to your post in one click.
== Description ==
[Demo](https://gutenberg-showcase.melonpan.io/demo-content-for-blocks) - [Documentation](https://melonpan.io/wordpress-plugins/demo-content-for-blocks) - [GitHub](https://github.com/garciaalvaro/demo-content-for-blocks)
Demo Content for Blocks provides utilities to quickly add blocks with predefined content to any post.
== Plugin and Theme developers ==
The plugin can be used to set blocks with your own content. This way users will be able to add blocks with content already set. For more information check the [documentation](https://melonpan.io/wordpress-plugins/demo-content-for-blocks).
== Usage ==
Inside the Post editor on the right side of the top Block's Toolbar the plugin icon/button should appear (if not, please read the FAQ below).
Click the icon/button to open the plugin sidebar.
By default two panels appear, single core blocks and multiple core blocks.
Click the ADD or REPLACE buttons to insert the block with its demo content inside the editor.
== Installation ==
Installation from the WordPress admin.
1. Log in to the WordPress admin and navigate to *Plugins > Add New*.
2. Type *Demo Content for Blocks* in the Search field.
3. In the results list *Demo Content for Blocks* plugin should appear, click **Install Now** button.
4. Once it finished installing, click the *Activate* button.
5. Now you can go to any post where the Block editor is enabled.
= I do not see the plugin icon in the post editor =
Alternatively the Plugin can be opened from the Show More button (the 3 dots on the right side of the Editor Top Bar).
Click the More button and inside the menu list click on the plugin name "Demo Content for Blocks".
== Changelog ==
= 1.2.0 =
* Fixed block registration bug. Now if a block is not registered it is not included in the item
* Added linter for development
* Updated dependencies and types
* Minor bugfixes
= 1.1.2 =
* Minor bugfixes
= 1.1.1 =
* Fixed bug where innerBlocks custom image props were not being parsed
= 1.1.0 =
* Improved code base. Migrated JavaScript to TypeScript
* Merged upload images in a single call
* Fixed styling
= 1.0.1 =
* Fix "custom_images" property, from dc_resolve to dcfb_resolve
= 1.0.0 =
* Initial release
== Credits ==
Images included in the plugin belong to [Charles Postiaux](https://unsplash.com/@charlpost).
== Screenshots ==
1. Plugin sidebar
2. Default Single core blocks panel