diff --git a/projects/common/element-components/text.component.ts b/projects/common/element-components/text.component.ts index 8b0d35d007a4c72de95c0d8eb314a9c7625ad2d7..754ab8a4c358d3652532d4f2b49933272cf55562 100644 --- a/projects/common/element-components/text.component.ts +++ b/projects/common/element-components/text.component.ts @@ -12,7 +12,8 @@ import { FormElementComponent } from '../canvas-element-component.directive'; [style.font-size.px]="elementModel.fontSize" [style.font-weight]="elementModel.bold ? 'bold' : ''" [style.font-style]="elementModel.italic ? 'italic' : ''" - [style.text-decoration]="elementModel.underline ? 'underline' : ''"> + [style.text-decoration]="elementModel.underline ? 'underline' : ''" + [style.white-space]="'pre-wrap'"> {{$any(elementModel).text}} </div> `