Merge branch 'develop' into chore/vuelidate-v2-migration

This commit is contained in:
Muhsin Keloth
2024-07-10 12:31:04 +05:30
committed by GitHub
108 changed files with 2970 additions and 739 deletions
@@ -257,7 +257,16 @@ export default {
html_content: { full: fullHTMLContent } = {},
text_content: { full: fullTextContent } = {},
} = this.contentAttributes.email || {};
return fullHTMLContent || fullTextContent || '';
if (fullHTMLContent) {
return fullHTMLContent;
}
if (fullTextContent) {
return fullTextContent.replace(/\n/g, '<br>');
}
return '';
},
displayQuotedButton() {
if (this.emailMessageContent.includes('<blockquote')) {