mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 22:55:25 +00:00
feat(core): Update to ckeditor 5. Fixes #5920. Encapsulate signature in raw-html-embed div when there are tables inside. Changed settings for raw html to enable preview.
This commit is contained in:
@@ -254,6 +254,9 @@
|
||||
}
|
||||
]
|
||||
};
|
||||
config.htmlEmbed = {
|
||||
showPreviews: true
|
||||
};
|
||||
config.image = {
|
||||
resizeUnit: "px",
|
||||
insert: {
|
||||
|
||||
@@ -10,4 +10,9 @@
|
||||
.ck-editor__editable {
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.ck-widget.raw-html-embed .raw-html-embed__preview-content>* {
|
||||
margin-left: unset !important;
|
||||
margin-right: unset !important;
|
||||
}
|
||||
}
|
||||
@@ -423,4 +423,9 @@ md-dialog md-dialog-actions.sg-mail-editor-attachments {
|
||||
right: 0!important;
|
||||
left: auto!important;
|
||||
}
|
||||
|
||||
.ck-widget.raw-html-embed .raw-html-embed__preview-content>* {
|
||||
margin-left: unset!important;
|
||||
margin-right: unset!important;
|
||||
}
|
||||
}
|
||||
@@ -18,4 +18,9 @@
|
||||
.ck-editor__editable {
|
||||
min-height: 70px;
|
||||
}
|
||||
|
||||
.ck-widget.raw-html-embed .raw-html-embed__preview-content>* {
|
||||
margin-left: unset!important;
|
||||
margin-right: unset!important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user