From 78db457957e473b49a3489f06a65a28ef1b01183 Mon Sep 17 00:00:00 2001 From: iRohitSingh <61353484+iRohitSingh@users.noreply.github.com> Date: Tue, 18 Jul 2023 13:29:59 +0530 Subject: [PATCH] Revert "Fix default setting and Block Width position of button block(#34)" (#158) --- locales/de/LC_MESSAGES/volto.po | 2 +- locales/volto.pot | 2 +- news/34.bugfix | 1 - src/components/Blocks/Button/schema.js | 3 +-- 4 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 news/34.bugfix diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 15e89538..21d8fb8f 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 "Block Breite" +msgstr "" #: components/Breadcrumbs/Breadcrumbs # defaultMessage: Breadcrumbs diff --git a/locales/volto.pot b/locales/volto.pot index f29d0df9..a6809acd 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-17T11:14:01.375Z\n" +"POT-Creation-Date: 2023-07-11T14:53:29.388Z\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 deleted file mode 100644 index 8a48eb01..00000000 --- a/news/34.bugfix +++ /dev/null @@ -1 +0,0 @@ -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 6625e177..f2facdd9 100644 --- a/src/components/Blocks/Button/schema.js +++ b/src/components/Blocks/Button/schema.js @@ -19,8 +19,7 @@ export const ButtonStylingSchema = ({ schema, formData, intl }) => { schema.properties.styles.schema.properties.buttonAlign = { widget: 'align', title: intl.formatMessage(messages.BlockWidth), - actions: ['wide', 'center'], - default: 'wide', + actions: ['center', 'wide'], }; schema.properties.inneralign.actions = ['left', 'center', 'right'];