add preview for markup

This commit is contained in:
2023-04-04 18:46:34 +02:00
parent 75f45c4d87
commit 3386f0994f
4 changed files with 49 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ export class TextWidgetComponent {
edit() {
this.dialog.open(AddTextDialogComponent,{
data: {text : this.data.text},
width: '600px'
width: '800px'
}).afterClosed().subscribe((text?: string) => {
if (text !== undefined) {
this.data.text = text;