diff --git a/projects/common/ui-elements/cloze/cloze-element.ts b/projects/common/ui-elements/cloze/cloze-element.ts index 5ca753a807fd76360a148dbec1b167200ca7299c..6f8db7d04a6bf2bf9fb5b12ca0a26c966db0a4b1 100644 --- a/projects/common/ui-elements/cloze/cloze-element.ts +++ b/projects/common/ui-elements/cloze/cloze-element.ts @@ -39,7 +39,7 @@ export class ClozeElement extends CompoundElement implements PositionedElement, this.positionProps = initPositionedElement(serializedElement); this.fontProps = initFontElement(serializedElement); - this.width = serializedElement.height || 450; + this.width = serializedElement.width || 450; this.height = serializedElement.height || 200; }