Skip to content

Commit 941dec8

Browse files
committed
fill content of textblocks during creation
- this ensures the correct values within the textblock classes attributes
1 parent e1de3e8 commit 941dec8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Entities/Blocks/TextBlock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ protected static function createTextBlock(TextBlock $textBlock, array|string $te
3535
"text" => $text
3636
];
3737

38+
$textBlock->fillContent();
39+
3840
return $textBlock;
3941
}
4042

0 commit comments

Comments
 (0)