diff --git a/docs/configuration/localization.mdx b/docs/configuration/localization.mdx index c4a4379a4b..68a4fca2c6 100644 --- a/docs/configuration/localization.mdx +++ b/docs/configuration/localization.mdx @@ -49,7 +49,8 @@ export default buildConfig({ { label: 'Arabic', code: 'ar', - // opt-in to setting default text-alignment on Input fields to rtl (right-to-left) when current locale is rtl + // opt-in to setting default text-alignment on Input fields to rtl (right-to-left) + // when current locale is rtl rtl: true, }, ], @@ -134,13 +135,9 @@ to support localization, you need to specify each field that you would like to l ```js { name: 'title', - type -: - 'text', - // highlight-start - localized -: - true, + type: 'text', + // highlight-start + localized: true, // highlight-end } ``` diff --git a/docs/database/transactions.mdx b/docs/database/transactions.mdx index e93729822e..a7d9025c1d 100644 --- a/docs/database/transactions.mdx +++ b/docs/database/transactions.mdx @@ -20,7 +20,8 @@ The initial request made to Payload will begin a new transaction and attach it t ```ts const afterChange: CollectionAfterChangeHook = async ({ req }) => { - // because req.transactionID is assigned from Payload and passed through, my-slug will only persist if the entire request is successful + // because req.transactionID is assigned from Payload and passed through, + // my-slug will only persist if the entire request is successful await req.payload.create({ req, collection: 'my-slug', diff --git a/docs/rich-text/lexical.mdx b/docs/rich-text/lexical.mdx index cc026a6753..dd8e14ecd2 100644 --- a/docs/rich-text/lexical.mdx +++ b/docs/rich-text/lexical.mdx @@ -196,7 +196,8 @@ const Pages: CollectionConfig = { editor: lexicalEditor({ features: ({ defaultFeatures }) => [ ...defaultFeatures, - // The HTMLConverter Feature is the feature which manages the HTML serializers. If you do not pass any arguments to it, it will use the default serializers. + // The HTMLConverter Feature is the feature which manages the HTML serializers. + // If you do not pass any arguments to it, it will use the default serializers. HTMLConverterFeature({}), ], }),