Skip to content

Commit 6e7b880

Browse files
committed
Fixing formatting of examples in the CHANGELOG for the blocks package
New workflow added at the same time the last PR was merged for blocks.
1 parent e801adc commit 6e7b880

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packages/block-editor-utils/CHANGELOG.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
// Component.js
2525

2626
Component.config = {
27-
name: 'CreateBlockBlockB',
28-
editorFields: {
29-
textArea: {
30-
type: 'string',
31-
label: 'My Message',
32-
location: 'editor',
33-
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
34-
},
35-
},
27+
name: 'CreateBlockBlockB',
28+
editorFields: {
29+
textArea: {
30+
type: 'string',
31+
label: 'My Message',
32+
location: 'editor',
33+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
34+
},
35+
},
3636
};
3737
```
3838

@@ -66,9 +66,9 @@
6666

6767
```js
6868
<div
69-
style={styles}
70-
className="rich-text"
71-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
69+
style={styles}
70+
className="rich-text"
71+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
7272
/>
7373
```
7474

@@ -119,9 +119,9 @@
119119
import save from './save';
120120

121121
registerFaustBlock(MyFirstBlock, {
122-
blockJson: metadata,
123-
editFn: Edit,
124-
saveFn: save,
122+
blockJson: metadata,
123+
editFn: Edit,
124+
saveFn: save,
125125
});
126126
```
127127

0 commit comments

Comments
 (0)