-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
155 lines (119 loc) · 4.24 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
=== Flexible Spacer Block ===
Contributors: wildworks
Tags: gutenberg, block, spacer, responsive
Donate link: https://www.paypal.me/thamanoJP
Requires at least: 6.5
Tested up to: 6.7
Stable tag: 2.5.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Add white space between blocks and customize its height for each device.
== Description ==
Flexible Spacer Block switches the height of the spacer according to the device screen width (breakpoints).
This block has two variable breakpoints, and you can adjust the height of the spacer for smartphones, tablets, and desktops respectively.
The height of the spacers can be changed individually or in batches.
Also available to set "negative space (negative margin)" instead of the normal space.
And this block supports transform from and to core spacer block.
== About negative space ==
"**Negative space**" narrows the margins both blocks above and below the spacer, and it is also possible to overlap the blocks.
If unintended overlap occurs, add a CSS class named "**fsb-style-show-front**" to the block you want to show in the front.
To apply the CSS class to the block, click on the block on WordPress editor, and check the block settings on the right for the Advanced setting ,then enter the CSS class.
== Installation ==
1. Upload the `flexible-spacer-block` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the \'Plugins\' menu in WordPress.
== Frequently Asked Questions ==
= What filters can I use? =
You can find a list of the available filters in the [Github readme](https://github.com/t-hamano/flexible-spacer-block#filters).
== Screenshots ==
1. On Block Editor
2. Setting page
3. Negative space example
4. Negative space example
== Resources ==
= Image for screenshot =
License: CC0 Public Domain
Source: https://pxhere.com/ja/photo/245
== Changelog ==
= 2.5.0 =
* Tested to WordPress 6.7
* Drop support for WordPress 6.4
= 2.4.0 =
* Tested to WordPress 6.6
* Drop support for WordPress 6.3
= 2.3.0 =
* Tested to WordPress 6.5
* Enhancement: Polish block style
* Enhancement: Polish settings page style
* Fix: Remove unnecessary CSS class
* Drop support for WordPress 6.2
= 2.2.0 =
* Tested to WordPress 6.4
* Drop support for WordPress 6.0, 6.1
= 2.1.0 =
* Tested to WordPress 6.3
* Add: unit support
* Drop support for WordPress5.9
* Drop support for PHP7.3
= 2.0.0 =
* Tested to WordPress 6.2
* Feature: Add default values setting
* Enhancement: Remove focus style for unit elements on the setting page
* Enhancement: Improve error messages on the setting page
* Fix: Responsive Setting value is empty for certain operations
* Fix: grammer in the setting page
= 1.4.1 =
* Clean: Remove files not needed for the release
= 1.4.0 =
* Tested to WordPress 6.1
* Drop support for WordPress 5.6 through 5.8
* Fix: Not converting correctly from core spacer block
* Enhancement: Polish style in the setting page
= 1.3.0 =
* Tested to WordPress 6.0
* Update: Minify inline styles
* Add: filter hooks
* Update: block icon
* Update: author name
* Fix: CSS files are not loaded in the iframe editor on WordPress 6.0
= 1.2.3 =
* Change: Ensure minimum height of the block
* Change: Minimum value of the spacer
* Fix: Unable to change the height of spacer in WordPress 5.9.1
= 1.2.2 =
* Clean: Remove unnecessary file included in the release
= 1.2.1 =
* Fix: Wrong text domain
= 1.2.0 =
* Tested to WordPress 5.9
* Add: Block control to change responsive view
* Change: Scripts handle name
* Change: dashicons to @wordpress/icons
* Remove: load_plugin_textdomain function
= 1.1.9 =
* Clean: Update npm packages and run a lint check
= 1.1.8 =
* Clean: Update npm packages
* Remove: Bundled language files
= 1.1.7 =
* Tested to WordPress 5.8
* Clean: Update npm packages
= 1.1.6 =
* Fix: build script error
* Fix: README.md screenshot
= 1.1.5 =
* Tested to WordPress 5.7
* Clean: Update deploy flow (github actions)
* Clean: Update npm packages and organize development env
= 1.1.4 =
* Tested to PHP 8
= 1.1.3 =
* Fix: Problem about plugin configuration values are not deleted upon uninstallation
= 1.1.2 =
* Fix: Problem about uninstallation error in PHP 8
= 1.1.1 =
* Add: Description about negative space
= 1.1.0 =
* Add: Negative space setting
= 1.0.0 =
* Initial release