mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-30 10:47:17 +00:00
feat(core): Update to ckeditor 5. Fixes #5920. Add SOGoForceRawHtmlSignature to disable raw-html-embed. Removed CKEditor signature box style when composing mail. Fix issue where raw-html-embed was added when changind signature
This commit is contained in:
@@ -516,7 +516,7 @@ static SoProduct *preferencesProduct = nil;
|
||||
}
|
||||
}
|
||||
// We inject our default mail account
|
||||
account = [[[context activeUser] mailAccounts] objectAtIndex: 0];
|
||||
account = [[[context activeUser] mailAccountsNoRawHtmlSignature] objectAtIndex: 0];
|
||||
if (![account objectForKey: @"receipts"])
|
||||
{
|
||||
[account setObject: [NSDictionary dictionaryWithObjectsAndKeys: @"ignore", @"receiptAction",
|
||||
|
||||
@@ -428,4 +428,28 @@ md-dialog md-dialog-actions.sg-mail-editor-attachments {
|
||||
margin-left: unset!important;
|
||||
margin-right: unset!important;
|
||||
}
|
||||
|
||||
.ck-widget.sogo-raw-html-embed:before {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
.sogo-raw-html-embed .raw-html-embed__buttons-wrapper {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.ck-widget.sogo-raw-html-embed:not(.ck-widget_selected):not(:hover) {
|
||||
outline: none!important;
|
||||
}
|
||||
|
||||
.ck-widget.sogo-raw-html-embed {
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
.ck-widget.sogo-raw-html-embed .raw-html-embed__preview-content {
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
.sogo-raw-html-embed .raw-html-embed__preview-placeholder {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user