fix(mail): Fix ckeditor issue where the font-size disappear after mail sent. Use font-size instead of css class.

This commit is contained in:
smizrahi
2024-12-23 11:18:28 +01:00
parent 0a828a739e
commit 70f72eb92f

View File

@@ -257,6 +257,27 @@
}
]
};
config.fontFamily = {
supportAllValues: true,
style: {
element: 'span',
attributes: {
style: 'font-family'
}
}
};
config.fontSize = {
options: ['10px', '12px', '14px', '16px', '18px', '20px', '24px'],
supportAllValues: true,
style: {
element: 'span',
attributes: {
style: 'font-size'
}
}
};
config.htmlEmbed = {
showPreviews: true
};