mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
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:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user