diff --git a/apps/documenteditor/mobile/src/view/edit/EditText.jsx b/apps/documenteditor/mobile/src/view/edit/EditText.jsx index 72cef561a..d739c4a36 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditText.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditText.jsx @@ -500,6 +500,11 @@ const EditText = props => { const isAndroid = Device.android; const { t } = useTranslation(); const storeTextSettings = props.storeTextSettings; + const storeFocusObjects = props.storeFocusObjects; + const shapeObject = storeFocusObjects.shapeObject; + const shapePr = shapeObject.get_ShapeProperties(); + const inSmartArt = shapePr && shapePr.asc_getFromSmartArt(); + const inSmartArtInternal = shapePr && shapePr.asc_getFromSmartArtInternal(); const fontName = storeTextSettings.fontName || t('Edit.textFonts'); const fontSize = storeTextSettings.fontSize; const fontColor = storeTextSettings.textColor; @@ -589,25 +594,33 @@ const EditText = props => { - - - {props.onParagraphMove(true)}}> - - - {props.onParagraphMove(false)}}> - - - - - -
{previewList}
- {!isAndroid && } -
+ {!inSmartArtInternal && + + + { + props.onParagraphMove(true) + }}> + + + { + props.onParagraphMove(false) + }}> + + + + + } + {!inSmartArt && !inSmartArtInternal && + +
{previewList}
+ {!isAndroid && } +
+ }