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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Update xml-instructions.md to remove unnecessary html tag (#3860)
* Update xml-instructions.md to remove unnecessary html tag
* Remove another unnecessary HTML tag
* Fix misleading tag from "remove" attribute
* Update xml-instructions.md to remove unnecessary HTML tag and fix misleading tag from "remove" attribute for v2.1 guide
Copy file name to clipboardExpand all lines: guides/v2.1/frontend-dev-guide/layouts/xml-instructions.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -256,7 +256,7 @@ The `<action>` instruction is deprecated. If the method implementation allows, u
256
256
257
257
Calls public methods on the block API.
258
258
259
-
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.</p>
259
+
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.
260
260
261
261
Example:
262
262
@@ -388,7 +388,7 @@ Sets the declared block or container element as a child of another element in th
388
388
### remove {#fedg_layout_xml-instruc_ex_rmv}
389
389
390
390
`<remove>` is used only to remove the static resources linked in a page `<head>` section.
391
-
For removing blocks or containers, use the `<remove>` attribute for [<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
391
+
For removing blocks or containers, use the `remove` attribute for [<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
Copy file name to clipboardExpand all lines: guides/v2.2/frontend-dev-guide/layouts/xml-instructions.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ We recommend always adding a `name` to blocks. Otherwise, it is given a random n
52
52
|:------- |:------ |:------ |:------ |
53
53
|`class`| Name of a class that implements rendering of a particular block. An object of this class is responsible for actual rendering of block output. | class name | no |
54
54
|`name`| Name that can be used to address the block to which this attribute is assigned. The name must be unique per generated page. If not specified, an automatic name will be assigned in the format <code>ANONYMOUS_<em>n</em></code> | 0-9, A-Z, a-z, underscore (_), period (.), dash (-). Should start with a letter. Case-sensitive. | no |
55
-
|`before`| Used to position the block</p> before an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block before all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Possible values: element name or dash (-) | no |
55
+
|`before`| Used to position the block before an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block before all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Possible values: element name or dash (-) | no |
56
56
|`after`| Used to position the block after an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block after all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Possible values: element name or dash (-) | no |
57
57
|`template`| A template that represents the functionality of the block to which this attribute is assigned. | template file name | no |
58
58
|`as`| An alias name that serves as identifier in the scope of the parent element. | 0-9, A-Z, a-z, underscore (_), period (.), dash (-). Case-sensitive. | no |
@@ -126,7 +126,7 @@ The `<action>` instruction is deprecated. If the method implementation allows, u
126
126
127
127
Calls public methods on the block API.
128
128
129
-
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.</p>
129
+
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.
130
130
131
131
132
132
Example:
@@ -206,7 +206,7 @@ Sets the declared block or container element as a child of another element in th
206
206
### remove {#fedg_layout_xml-instruc_ex_rmv}
207
207
208
208
`<remove>` is used only to remove the static resources linked in a page `<head>` section.
209
-
For removing blocks or containers, use the `<remove>` attribute for [`<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
209
+
For removing blocks or containers, use the `remove` attribute for [`<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
0 commit comments