Skip to content

Commit ce055aa

Browse files
committed
Fixes to formatting CHANGELOG files.
1 parent e3d1d7e commit ce055aa

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

packages/block-editor-utils/CHANGELOG.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
// Component.js
4343

4444
Component.config = {
45-
name: 'CreateBlockBlockB',
46-
editorFields: {
47-
textArea: {
48-
type: 'string',
49-
label: 'My Message',
50-
location: 'editor',
51-
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
52-
},
53-
},
45+
name: 'CreateBlockBlockB',
46+
editorFields: {
47+
textArea: {
48+
type: 'string',
49+
label: 'My Message',
50+
location: 'editor',
51+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
52+
},
53+
},
5454
};
5555
```
5656

@@ -84,9 +84,9 @@
8484

8585
```js
8686
<div
87-
style={styles}
88-
className="rich-text"
89-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
87+
style={styles}
88+
className="rich-text"
89+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
9090
/>
9191
```
9292

@@ -137,9 +137,9 @@
137137
import save from './save';
138138

139139
registerFaustBlock(MyFirstBlock, {
140-
blockJson: metadata,
141-
editFn: Edit,
142-
saveFn: save,
140+
blockJson: metadata,
141+
editFn: Edit,
142+
saveFn: save,
143143
});
144144
```
145145

packages/faustwp-core/CHANGELOG.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
export default function Sitemap() {}
4545

4646
export function getServerSideProps(ctx) {
47-
return getSitemapProps(ctx, {
48-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
49-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
50-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
51-
});
47+
return getSitemapProps(ctx, {
48+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
49+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
50+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
51+
});
5252
}
5353
```
5454

@@ -152,7 +152,7 @@
152152
153153
```jsx
154154
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
155-
Log Out
155+
Log Out
156156
</ToolbarItem>
157157
```
158158
@@ -258,18 +258,18 @@
258258
import { FaustPage } from '@faustwp/core';
259259

260260
type GetPageData = {
261-
generalSettings: {
262-
title: string;
263-
};
261+
generalSettings: {
262+
title: string;
263+
};
264264
};
265265

266266
type PageProps = {
267-
myProp: string;
267+
myProp: string;
268268
};
269269

270270
const Page: FaustPage<GetPageData, PageProps> = (props) => {
271-
const { myProp, data } = props;
272-
return <></>;
271+
const { myProp, data } = props;
272+
return <></>;
273273
};
274274
```
275275
@@ -338,9 +338,9 @@
338338
export default function Sitemap() {}
339339

340340
export function getServerSideProps(context) {
341-
return getSitemapProps(context, {
342-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
343-
});
341+
return getSitemapProps(context, {
342+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
343+
});
344344
}
345345
```
346346
@@ -370,7 +370,7 @@
370370
import { FaustHooks, FaustPlugin } from '@faustwp/core';
371371

372372
export class MyPlugin implements FaustPlugin {
373-
apply(hooks: FaustHooks) {}
373+
apply(hooks: FaustHooks) {}
374374
}
375375
```
376376

0 commit comments

Comments
 (0)