diff --git a/lib/src/widgets/text_line.dart b/lib/src/widgets/text_line.dart index ed77f79e..9358777a 100644 --- a/lib/src/widgets/text_line.dart +++ b/lib/src/widgets/text_line.dart @@ -193,7 +193,8 @@ class _TextLineState extends State { } // Creates correct node for custom embed if (child.value.type == BlockEmbed.customType) { - child = Embed(CustomBlockEmbed.fromJsonString(child.value.data)); + child = Embed(CustomBlockEmbed.fromJsonString(child.value.data)) + ..applyStyle(child.style); } final embedBuilder = widget.embedBuilder(child); final embedWidget = EmbedProxy(