diff --git a/packages/core/admin/admin/src/components/LeftMenu/index.js b/packages/core/admin/admin/src/components/LeftMenu/index.js index 81efaf93da..c617148845 100644 --- a/packages/core/admin/admin/src/components/LeftMenu/index.js +++ b/packages/core/admin/admin/src/components/LeftMenu/index.js @@ -80,12 +80,20 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => { } }; + const menuTitle = formatMessage({ + id: 'app.components.LeftMenu.navbrand.title', + defaultMessage: 'Strapi Dashboard', + }); + return ( } + workplace={formatMessage({ + id: 'app.components.LeftMenu.navbrand.workplace', + defaultMessage: 'Workplace', + })} + title={menuTitle} + icon={{menuTitle}} /> diff --git a/packages/core/admin/admin/src/content-manager/components/Wysiwyg/index.js b/packages/core/admin/admin/src/content-manager/components/Wysiwyg/index.js index 5b9aeb9f1c..d0a372e94d 100644 --- a/packages/core/admin/admin/src/content-manager/components/Wysiwyg/index.js +++ b/packages/core/admin/admin/src/content-manager/components/Wysiwyg/index.js @@ -26,6 +26,10 @@ const LabelAction = styled(Box)` } `; +const TypographyAsterisk = styled(Typography)` + line-height: 0; +`; + const Wysiwyg = ({ description, disabled, @@ -36,6 +40,7 @@ const Wysiwyg = ({ onChange, placeholder, value, + required, }) => { const { formatMessage } = useIntl(); const textareaRef = useRef(null); @@ -124,6 +129,7 @@ const Wysiwyg = ({ {label} + {required && *} {labelAction && {labelAction}} @@ -182,6 +188,7 @@ Wysiwyg.defaultProps = { error: '', labelAction: undefined, placeholder: null, + required: false, value: '', }; @@ -206,6 +213,7 @@ Wysiwyg.propTypes = { defaultMessage: PropTypes.string.isRequired, values: PropTypes.object, }), + required: PropTypes.bool, value: PropTypes.string, }; diff --git a/packages/core/admin/admin/src/translations/en.json b/packages/core/admin/admin/src/translations/en.json index a51ff8bee0..a7c3802140 100644 --- a/packages/core/admin/admin/src/translations/en.json +++ b/packages/core/admin/admin/src/translations/en.json @@ -284,6 +284,8 @@ "app.components.LeftMenu.expand": "Expand the navbar", "app.components.LeftMenu.logout": "Logout", "app.components.LeftMenu.profile": "Profile", + "app.components.LeftMenu.navbrand.title": "Strapi Dashboard", + "app.components.LeftMenu.navbrand.workplace": "Workplace", "app.components.LeftMenuFooter.documentation": "Documentation", "app.components.LeftMenuFooter.help": "Help", "app.components.LeftMenuFooter.poweredBy": "Powered by ",