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:
smizrahi
2024-03-05 21:57:01 +01:00
parent 1719baea7a
commit dd965baae1
5 changed files with 54 additions and 1 deletions
@@ -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;
}
}