chore: Replace css-inline with @css-inline/css-inline-wasm (#6336)
* chore: Replace `css-inline` with `@css-inline/css-inline-wasm` Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev> * Update yarn.lock * Import order * lint --------- Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev> Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
@@ -82,7 +82,7 @@ export default class CommentCreatedEmail extends BaseEmail<
|
||||
|
||||
if (content) {
|
||||
// inline all css so that it works in as many email providers as possible.
|
||||
body = HTMLHelper.inlineCSS(content);
|
||||
body = await HTMLHelper.inlineCSS(content);
|
||||
}
|
||||
|
||||
const isReply = !!comment.parentCommentId;
|
||||
|
||||
@@ -74,7 +74,7 @@ export default class CommentMentionedEmail extends BaseEmail<
|
||||
|
||||
if (content) {
|
||||
// inline all css so that it works in as many email providers as possible.
|
||||
body = HTMLHelper.inlineCSS(content);
|
||||
body = await HTMLHelper.inlineCSS(content);
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -73,7 +73,7 @@ export default class DocumentPublishedOrUpdatedEmail extends BaseEmail<
|
||||
});
|
||||
|
||||
// inline all css so that it works in as many email providers as possible.
|
||||
body = content ? HTMLHelper.inlineCSS(content) : undefined;
|
||||
body = content ? await HTMLHelper.inlineCSS(content) : undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user