Skip to content

Commit 25dbf33

Browse files
committed
MAGEDOC-3558: Docs for changed repo access
Fixed typos
1 parent 7109b5d commit 25dbf33

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/create-basic-content-type/step-2-add-templates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ The Quote `preview_template` (`preview.html`) is shown here in full, followed b
9999

100100
The `attr` attribute allows binding of data from the content type form (UI component) to the html elements in the template.
101101

102-
The value for `attr` is derived from the `element` name in the configuration file followed by `attributes`. For example, the `attr` value used to bind data for the `blockquote` on line 8 of the Quote `preview.html` is `attr="data.quote.attributes"`. This corresponds to the `element` named `quote` in the `quote.xml` configuration file, as shown here:
102+
The value for `attr` is derived from the `element` name in the configuration file followed by `attributes`. For example, the `attr` value used to bind data for the `blockquote` on line 8 of the Quote `preview.html` is `attr="data.quote.attributes"`. This corresponds to the `element` named `quote` in the `example_quote.xml` configuration file, as shown here:
103103

104104
```xml
105-
<!-- quote.xml -->
105+
<!-- example_quote.xml -->
106106
<element name="quote">
107107
<html name="quote_text" converter="Magento_PageBuilder/js/converter/html/tag-escaper"/>
108108
<css name="quote_css"/>
@@ -116,7 +116,7 @@ The nodes declared within an `element` define the bindings that can be applied t
116116
The `ko-style` attribute applies the `<style>` attributes from the form to a template element. For example, the `main` element for the Quote configuration defines several style bindings as shown here:
117117

118118
```xml
119-
<!-- quote.xml -->
119+
<!-- example_quote.xml -->
120120
<element name="main">
121121
<style name="text_align" source="text_align"/>
122122
<style name="border" source="border_style" converter="Magento_PageBuilder/js/converter/style/border-style"/>

docs/create-basic-content-type/step-4-add-form.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,13 @@ Defines the data source for the field. The source` node's value corresponds to a
252252
```xml
253253
<field name="quote_text" sortOrder="10" formElement="textarea">
254254
<argument name="data" xsi:type="array">
255-
<item name="config" xsi:type="array">
256-
<item name="source" xsi:type="string">page</item>
257-
</item>
258-
</argument>
255+
<item name="config" xsi:type="array">
256+
<item name="source" xsi:type="string">page</item>
257+
</item>
258+
</argument>
259259
```
260260

261-
For example, the `quote_text` field above specifies that the `source` of its data should come from tthe data stored under the key `page` returned by the page's DataProvider.
261+
For example, the `quote_text` field above specifies that the `source` of its data should come from the data stored under the key `page` returned by the page's DataProvider.
262262

263263
### settings
264264

0 commit comments

Comments
 (0)