-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.txt
179 lines (127 loc) · 5.38 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
168
169
170
171
172
173
174
175
176
177
178
179
=== Block Navigation ===
Contributors: melonpan
Tags: gutenberg, blocks, navigation, editor, drag-and-drop
Requires at least: 5.8
Tested up to: 6.0
Stable tag: 4.1.1
Requires PHP: 7.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Block Navigation sidebar panel for the new Block editor.
== Description ==
[Demo](https://gutenberg-showcase.melonpan.io/block-navigation) - [Documentation](https://melonpan.io/wordpress-plugins/block-navigation) - [GitHub](https://github.com/garciaalvaro/block-navigation)
Block Navigation provides a sidebar with the current post/page’s blocks and some tools to facilitate the editing process in the new Gutenberg editor.
== Features ==
The features are especially useful for nested blocks – blocks that are inside parent blocks which are difficult to select or move in the editor.
Inside the panel several utilities are included to enhance the UX, such as:
* Dragging blocks to a different location
* Moving blocks by click
* Selecting blocks
* Easily recognising the block from a small snippet of the block’s content
The user can select a dark or light color scheme, from the multiple included.
== Plugin and Theme developers ==
The plugin also provides some features for Plugin and Theme developers, such as:
* Click and Copy the block’s clientId
* Click to console.log helpful data from the block
== Screenshots ==
1. Main view, dark scheme.
2. Dragging a block to a different position.
3. Block menu.
4. List of available color schemes, light and dark.
== 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.
== Installation ==
Installation from the WordPress admin.
1. Log in to the WordPress admin and navigate to Plugins > Add New.
2. Type "Block Navigation" in the Search field.
3. In the results list Block Navigation plugin should appear, click **Install Now** button.
4. Once it finished installing, click the Activate button.
5. That's it, now you can go to any post where Gutenberg is enabled and start using the plugin.
== Frequently Asked Questions ==
= 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 "Block Navigation".
== Credits ==
Images from the readme banner and screenshots belong to [Charles Postiaux](https://unsplash.com/@charlpost).
== Changelog ==
= 4.1.1 =
* Fixed incompatibility with some custom blocks
= 4.1.0 =
* Minor fixes for WP 5.9
* Updated dependencies
= 4.0.1 =
* Minor style fixes
= 4.0.0 =
* Code base refactor for improved performance
* Fixed WP 5.8 incompatibility of the drag-and-drop functionality
* Added duplicate button in block menu
* Display block variant icon and name when there is no block content
* Added toggle all blocks button
* Small style improvements
= 3.4.1 =
* Added a temporary patch for WP 5.8 drop event
= 3.4.0 =
* Fixed bug in WP 5.7, drop events not being triggered
* Updated dependencies
= 3.3.3 =
* Fixed a style bug with Gutenberg 9.8
* Updated dependencies
= 3.3.2 =
* Updated dependencies
= 3.3.1 =
* Fixed bug in icon used to register the plugin
= 3.3.0 =
* Added "Detached position" setting
* Added "Block info displayed" setting
* Added "Developer mode" setting
* Extended the list of blocks that display content
* CSS and JS small fixes and improvements
= 3.2.0 =
* Added detach mode
* Added WordPress admin color scheme
* Updated dependencies
= 3.1.0 =
* Added "Remove Block" button in block menu
* Updated dependencies
= 3.0.0 =
* Major refactor
* Updated dependencies
= 2.0.1 =
* Fixed text being selected on drag
* Fixed images being able to be dragged
* Updated dependencies
= 2.0.0 =
* Major refactor. Use of react hooks, load an old version of the plugin for WP 5.2
* Use of a virtual list to improve performance (specially when dragging)
* Blocks can be dropped as a children of an empty nestable block
* Overall improvement in the UX
* The scrollTop position will update based on the current selected block
= 1.3.0 =
* Blocks that are nestable (like columns) now retain their collapsed/expanded state, after closing and re-opening the plugin sidebar or after collapsing an ancestor block.
* Reusable blocks now show their title, so they are more easy to identify.
= 1.2.1 =
* Minor bugfixes.
= 1.2.0 =
* Improved moving blocks UX (both by drag and by click).
* Added the filter "blockNavigation.addBlockContentAttributePath" for developers to include their own block type content.
* Updated the UI.
* Rebuilt code, migrated JavaScript to TypeScript.
* Raised minimum WordPress version to 5.2 to make use of block-editor package.
= 1.1.2 =
* Cleaned console log output and added "attributes-available".
* Fixed castaña scheme dark color.
* Updated cover block and added media-text block.
* Small typo and bug fixes.
= 1.1.1 =
* Make use of Rich Text WordPress package.
* Small typo and bug fixes.
= 1.1.0 =
* Added Development Mode. Currently it adds two extra actions inside each Block's menu: Copy the Block clientId to the Clipboard and Log to the browser's console some helpful Block related data.
* Clicking on an already selected block deselects it.
= 1.0.1 =
* Fix bug with jQuery variable
* Upgrade logo to SVG
* Schemes naming fix
= 1.0.0 =
* Initial release.