diff --git a/apps/documenteditor/mobile/src/controller/ContextMenu.jsx b/apps/documenteditor/mobile/src/controller/ContextMenu.jsx index cfc17f568..9bccbeee3 100644 --- a/apps/documenteditor/mobile/src/controller/ContextMenu.jsx +++ b/apps/documenteditor/mobile/src/controller/ContextMenu.jsx @@ -267,7 +267,7 @@ class ContextMenu extends ContextMenuController { }); } - if ( canFillForms && !locked ) { + if ( canFillForms && canCopy && !locked ) { itemsIcon.push({ event: 'paste', icon: 'icon-paste' diff --git a/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx b/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx index 18dd0518c..2ab4ceb8b 100644 --- a/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx @@ -111,22 +111,24 @@ const EditCell = props => { {_t.textCellStyles} {cellStyles.length ? ( - - {arraySlides.map((_, indexSlide) => { - let stylesSlide = cellStyles.slice(indexSlide * 9, (indexSlide * 9) + 9); - - return ( - - - {stylesSlide.map((elem, index) => ( - props.onStyleClick(elem.name)}> -
-
- ))} -
-
- )})} -
+
+
+ {arraySlides.map((_, indexSlide) => { + let stylesSlide = cellStyles.slice(indexSlide * 9, (indexSlide * 9) + 9); + + return ( +
+ + {stylesSlide.map((elem, index) => ( + props.onStyleClick(elem.name)}> +
+
+ ))} +
+
+ )})} +
+
) : null} }