diff --git a/apps/documenteditor/mobile/src/view/edit/EditShape.jsx b/apps/documenteditor/mobile/src/view/edit/EditShape.jsx
index 930652b74..e6ba1a45d 100644
--- a/apps/documenteditor/mobile/src/view/edit/EditShape.jsx
+++ b/apps/documenteditor/mobile/src/view/edit/EditShape.jsx
@@ -511,11 +511,14 @@ const EditShape = props => {
const wrapType = props.storeShapeSettings.getWrapType(shapeObject);
const shapeType = shapeObject.get_ShapeProperties().asc_getType();
- const hideChangeType = shapeObject.get_ShapeProperties().get_FromChart() || shapeType=='line' || shapeType=='bentConnector2' || shapeType=='bentConnector3'
+ const hideChangeType = shapeObject.get_ShapeProperties().get_FromChart() || shapeObject.get_ShapeProperties().get_FromSmartArt()
+ || shapeType=='line' || shapeType=='bentConnector2' || shapeType=='bentConnector3'
|| shapeType=='bentConnector4' || shapeType=='bentConnector5' || shapeType=='curvedConnector2'
|| shapeType=='curvedConnector3' || shapeType=='curvedConnector4' || shapeType=='curvedConnector5'
|| shapeType=='straightConnector1';
+ const isSmartArtInternal = shapeObject.get_ShapeProperties().get_FromSmartArtInternal();
+ const isFromGroup = shapeObject.get_ShapeProperties().get_FromGroup();
const inControl = api.asc_IsContentControl();
const controlProps = (api && inControl) ? api.asc_GetContentControlProperties() : null;
const lockType = controlProps ? controlProps.get_Lock() : Asc.c_oAscSdtLockType.Unlocked;
@@ -545,19 +548,21 @@ const EditShape = props => {
onBorderColor: props.onBorderColor
}}>
: null}
-
+ { !isFromGroup &&
+
+ }
{(!hideChangeType && !fixedSize) &&
}
- {wrapType !== 'inline' && }
diff --git a/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx b/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx
index d476f12cd..bd41e6a97 100644
--- a/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx
+++ b/apps/presentationeditor/mobile/src/view/edit/EditShape.jsx
@@ -13,11 +13,13 @@ const EditShape = props => {
const canFill = shapeObject && shapeObject.get_CanFill();
const shapeType = shapeObject.asc_getType();
- const hideChangeType = shapeObject.get_FromChart() || shapeType=='line' || shapeType=='bentConnector2' || shapeType=='bentConnector3'
+ const hideChangeType = shapeObject.get_FromChart() || shapeObject.get_FromSmartArt()
+ || shapeType=='line' || shapeType=='bentConnector2' || shapeType=='bentConnector3'
|| shapeType=='bentConnector4' || shapeType=='bentConnector5' || shapeType=='curvedConnector2'
|| shapeType=='curvedConnector3' || shapeType=='curvedConnector4' || shapeType=='curvedConnector5'
|| shapeType=='straightConnector1';
+ const isSmartArtInternal = shapeObject.get_FromSmartArtInternal();
let disableRemove = !!props.storeFocusObjects.paragraphObject;
return (
@@ -41,10 +43,11 @@ const EditShape = props => {
onReplace: props.onReplace
}}>
}
-
-
+ { !isSmartArtInternal &&
+
+ }
diff --git a/apps/spreadsheeteditor/mobile/src/view/edit/EditShape.jsx b/apps/spreadsheeteditor/mobile/src/view/edit/EditShape.jsx
index b8a17a049..a8cef2809 100644
--- a/apps/spreadsheeteditor/mobile/src/view/edit/EditShape.jsx
+++ b/apps/spreadsheeteditor/mobile/src/view/edit/EditShape.jsx
@@ -13,11 +13,13 @@ const EditShape = props => {
const canFill = shapeObject && shapeObject.get_ShapeProperties().asc_getCanFill();
const shapeType = shapeObject.get_ShapeProperties().asc_getType();
- const hideChangeType = shapeObject.get_ShapeProperties().get_FromChart() || shapeType=='line' || shapeType=='bentConnector2' || shapeType=='bentConnector3'
+ const hideChangeType = shapeObject.get_ShapeProperties().get_FromChart() || shapeObject.get_ShapeProperties().get_FromSmartArt()
+ || shapeType=='line' || shapeType=='bentConnector2' || shapeType=='bentConnector3'
|| shapeType=='bentConnector4' || shapeType=='bentConnector5' || shapeType=='curvedConnector2'
|| shapeType=='curvedConnector3' || shapeType=='curvedConnector4' || shapeType=='curvedConnector5'
|| shapeType=='straightConnector1';
+ const isSmartArtInternal = shapeObject.get_ShapeProperties().get_FromSmartArtInternal();
let disableRemove = storeFocusObjects.selections.indexOf('text') > -1;
return (
@@ -41,9 +43,11 @@ const EditShape = props => {
onReplace: props.onReplace
}}>
}
-
+ { !isSmartArtInternal &&
+
+ }
{_t.textRemoveShape}