diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index e673ca908..6d06f301a 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -617,6 +617,7 @@ class MainController extends Component { default: storeTextSettings.resetBullets(-1); storeTextSettings.resetNumbers(-1); + storeTextSettings.resetMultiLevel(-1); } }); this.api.asc_registerCallback('asc_onPrAlign', (align) => { diff --git a/apps/documenteditor/mobile/src/view/edit/EditText.jsx b/apps/documenteditor/mobile/src/view/edit/EditText.jsx index 7299327b0..df633be76 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditText.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditText.jsx @@ -286,11 +286,11 @@ const PageMultiLevel = observer(props => { {arrayMultiLevel.map((item) => ( - { - item.type === -1 ? storeTextSettings.resetMultiLevel(-1) : storeTextSettings.resetMultiLevel(null); - props.onMultiLevelList(item.type); - }}> + props.onMultiLevelList(item.type)}> {item.thumb.length < 1 ?