diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx index 24813b68dc..10c5fe3fe1 100644 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx @@ -9,6 +9,8 @@ import { DefaultFillStyle, DefaultFontStyle, DefaultSizeStyle, + DefaultHorizontalAlignStyle, + DefaultVerticalAlignStyle, InstancePresenceRecordType, setDefaultUiAssetUrls, setDefaultEditorAssetUrls, @@ -552,6 +554,9 @@ const Whiteboard = React.memo((props) => { setTlEditor(editor); setTldrawAPI(editor); + DefaultHorizontalAlignStyle.defaultValue = isRTL ? 'end' : 'start'; + DefaultVerticalAlignStyle.defaultValue = 'start'; + editor?.user?.updateUserPreferences({ locale: language }); const colorStyles = [