Skip to content

Commit dc294f7

Browse files
committed
fill content of embed-block within create
- this ensures the currect values within the class attributes
1 parent 86e37f9 commit dc294f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Entities/Blocks/Embed.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public static function create(string $url, string $caption): Embed
3333
]
3434
];
3535

36+
$embed->fillContent();
37+
3638
return $embed;
3739
}
3840

0 commit comments

Comments
 (0)