diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 21d8fb8f..15e89538 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -25,7 +25,7 @@ msgstr "Hintergrundfarbe" #: components/Blocks/Button/schema # defaultMessage: Block Width msgid "Block Width" -msgstr "" +msgstr "Block Breite" #: components/Breadcrumbs/Breadcrumbs # defaultMessage: Breadcrumbs diff --git a/locales/volto.pot b/locales/volto.pot index a6809acd..f29d0df9 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2023-07-11T14:53:29.388Z\n" +"POT-Creation-Date: 2023-07-17T11:14:01.375Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" diff --git a/news/34.bugfix b/news/34.bugfix new file mode 100644 index 00000000..8a48eb01 --- /dev/null +++ b/news/34.bugfix @@ -0,0 +1 @@ +Fix default setting and Block Width position of button block @iRohitSingh \ No newline at end of file diff --git a/src/components/Blocks/Button/schema.js b/src/components/Blocks/Button/schema.js index f2facdd9..6625e177 100644 --- a/src/components/Blocks/Button/schema.js +++ b/src/components/Blocks/Button/schema.js @@ -19,7 +19,8 @@ export const ButtonStylingSchema = ({ schema, formData, intl }) => { schema.properties.styles.schema.properties.buttonAlign = { widget: 'align', title: intl.formatMessage(messages.BlockWidth), - actions: ['center', 'wide'], + actions: ['wide', 'center'], + default: 'wide', }; schema.properties.inneralign.actions = ['left', 'center', 'right'];