You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: changelog.txt
+101
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,106 @@
1
1
== Changelog ==
2
2
3
+
= 9.7.0-rc.1 =
4
+
5
+
### Features
6
+
7
+
- Support drag and dropping block patterns from the inserter. ([27927](https://github.com/WordPress/gutenberg/pull/27927))
8
+
9
+
### Enhancements
10
+
11
+
- Improve the Reusable Blocks UI by relying on multi entity save flow. ([27887](https://github.com/WordPress/gutenberg/pull/27887))
12
+
- Show the insertion point indicator bellow the inbetween inserter. ([27842](https://github.com/WordPress/gutenberg/pull/27842))
13
+
- URL: RemoveQueryArgs should remove the ? char after removing all args. ([27812](https://github.com/WordPress/gutenberg/pull/27812))
14
+
- URL: Enhance the way long URLs are handled in filterURLForDisplay. ([27530](https://github.com/WordPress/gutenberg/pull/27530))
15
+
- ComboboxControl: Updated component to deburr options labels before filter. ([26611](https://github.com/WordPress/gutenberg/pull/26611))
16
+
17
+
### New APIs
18
+
19
+
- Create block: Allow to list npm packages to be installed in the template. ([27880](https://github.com/WordPress/gutenberg/pull/27880))
20
+
- Display Block Information by matching block variations. ([27469](https://github.com/WordPress/gutenberg/pull/27469))
21
+
22
+
### Bug Fixes
23
+
24
+
- Don't ignore extra edits made in the server when saving posts. ([27929](https://github.com/WordPress/gutenberg/pull/27929))
25
+
- Allow using multiple controlled inner blocks refering to the same entity. ([27885](https://github.com/WordPress/gutenberg/pull/27885))
26
+
- Remove the animation of post publish button during autosaving. ([27874](https://github.com/WordPress/gutenberg/pull/27874))
27
+
- Remove default style information from the documentation. ([27811](https://github.com/WordPress/gutenberg/pull/27811))
28
+
- Storybook: Fix broken import statements for DateTime component. ([27794](https://github.com/WordPress/gutenberg/pull/27794))
29
+
- Pattern Inserter: Fix bug where the inserter cannot be closed if the user changes pattern category. ([27792](https://github.com/WordPress/gutenberg/pull/27792))
30
+
- Create Block: Another try to fix support for external templates. ([27784](https://github.com/WordPress/gutenberg/pull/27784))
31
+
- LinkControl: Fix horizontal scrollbar within block toolbar. ([27777](https://github.com/WordPress/gutenberg/pull/27777))
32
+
- Create Block: Fix support for external templates hosted on npm. ([27776](https://github.com/WordPress/gutenberg/pull/27776))
33
+
- Fix for bug #21989, #21650. ([27691](https://github.com/WordPress/gutenberg/pull/27691))
34
+
- HTML Block: Fix editor styles. ([27627](https://github.com/WordPress/gutenberg/pull/27627))
35
+
- Fix: Text color dropdown not showing up after clicking for the first time. ([27596](https://github.com/WordPress/gutenberg/pull/27596))
36
+
37
+
### Experiments
38
+
39
+
- Site Logo: Remove duplicate link. ([27924](https://github.com/WordPress/gutenberg/pull/27924))
40
+
- Post excerpt block: Fix incorrect quotes for the class attribute in the wrapper. ([27895](https://github.com/WordPress/gutenberg/pull/27895))
41
+
- Refactor the edit-site store to clarify the purpose of templateId and templatePartId. ([27839](https://github.com/WordPress/gutenberg/pull/27839))
42
+
- Add support for custom templates in FSE themes. ([27778](https://github.com/WordPress/gutenberg/pull/27778))
- Storybook: Perform cleanup in the Storybook setup. ([27786](https://github.com/WordPress/gutenberg/pull/27786))
60
+
- Raw handling: Remove duplicate code. ([27758](https://github.com/WordPress/gutenberg/pull/27758))
61
+
- Refactor BlockSwitcher - make function component and new specific selector `getBlockTransformItems`. ([27674](https://github.com/WordPress/gutenberg/pull/27674))
62
+
63
+
### Tools
64
+
65
+
- Code quality: Remove overrides for JSDoc rules downgraded to warnings (take 2). ([27912](https://github.com/WordPress/gutenberg/pull/27912))
66
+
- Fix svn add/rm commands for release tool. ([27886](https://github.com/WordPress/gutenberg/pull/27886))
67
+
- Include block CSS in the plugin ZIP. ([27884](https://github.com/WordPress/gutenberg/pull/27884))
68
+
- Code quality: Remove overrides for JSDoc rules downgraded to warnings. ([27879](https://github.com/WordPress/gutenberg/pull/27879))
69
+
- Make end to end tests do not rely on font size picker classes. ([27825](https://github.com/WordPress/gutenberg/pull/27825))
70
+
- Remove expect.assertions count from multi-entity-saving tests. ([27818](https://github.com/WordPress/gutenberg/pull/27818))
71
+
- [e2e tests]: Fix assertions number check. ([27802](https://github.com/WordPress/gutenberg/pull/27802))
72
+
- Testing: Remove axe verification executed after every test case. ([26626](https://github.com/WordPress/gutenberg/pull/26626))
73
+
- Add new package `@wordpress/stylelint config`. ([22777](https://github.com/WordPress/gutenberg/pull/22777))
- Show all taxonomies in Tag Cloud block. ([27930](https://github.com/WordPress/gutenberg/pull/27930))
79
+
- Revert "Code quality: Remove overrides for JSDoc rules downgraded to warnings". ([27908](https://github.com/WordPress/gutenberg/pull/27908))
80
+
- Update: Improve font size end to end tests to work with input changes on blur. ([27871](https://github.com/WordPress/gutenberg/pull/27871))
Copy file name to clipboardexpand all lines: docs/designers-developers/developers/block-api/block-templates.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Templates
2
2
3
-
A block template is defined as a list of block items. Such blocks can have predefined attributes, placeholder content, and be static or dynamic. Block templates allow to specify a default initial state for an editor session.
3
+
A block template is defined as a list of block items. Such blocks can have predefined attributes, placeholder content, and be static or dynamic. Block templates allow specifying a default initial state for an editor session.
-`all` — prevents all operations. It is not possible to insert new blocks, move existing blocks, or delete blocks.
111
111
-`insert` — prevents inserting or removing blocks, but allows moving existing blocks.
112
112
113
+
Lock settings can be inherited by InnerBlocks. If `templateLock` is not set in an InnerBlocks area, the locking of the parent InnerBlocks area is used. If the block is a top level block, the locking configuration of the current post type is used.
114
+
113
115
## Nested Templates
114
116
115
117
Container blocks like the columns blocks also support templates. This is achieved by assigning a nested template to the block.
0 commit comments