diff --git a/apps/documenteditor/mobile/src/store/focusObjects.js b/apps/documenteditor/mobile/src/store/focusObjects.js index 566463bee..00cba2705 100644 --- a/apps/documenteditor/mobile/src/store/focusObjects.js +++ b/apps/documenteditor/mobile/src/store/focusObjects.js @@ -24,6 +24,7 @@ export class storeFocusObjects { _headerType = 1; resetFocusObjects (objects) { + this._focusObjects = objects; } get settings() { diff --git a/apps/documenteditor/mobile/src/store/paragraphSettings.js b/apps/documenteditor/mobile/src/store/paragraphSettings.js index ecbe07431..ed5bd2004 100644 --- a/apps/documenteditor/mobile/src/store/paragraphSettings.js +++ b/apps/documenteditor/mobile/src/store/paragraphSettings.js @@ -20,6 +20,11 @@ export class storeParagraphSettings { styleName = undefined; initEditorStyles (styles) { + this.styles = styles.get_MergedStyles(); + this.styleThumbSize = { + width : styles.STYLE_THUMBNAIL_WIDTH, + height : styles.STYLE_THUMBNAIL_HEIGHT + }; } get paragraphStyles () { @@ -34,6 +39,7 @@ export class storeParagraphSettings { } changeParaStyleName (name) { + this.styleName = name; } backColor = undefined;