feat(core): Update to ckeditor 5. Fixes #5920.

This commit is contained in:
smizrahi
2024-02-27 14:29:59 +01:00
parent b8a6d576e1
commit e92fb8f52d
198 changed files with 754 additions and 5677 deletions
@@ -5,4 +5,9 @@
margin-left: $bl * 2;
margin-right: $bl * 2;
}
}
// CKEditor
.ck-editor__editable {
min-height: 200px;
}
}
@@ -320,6 +320,11 @@ md-sidenav {
}
}
// For CKEditor
.image_resized {
height: auto!important;
}
.sg-mail-editor {
.pseudo-input-container {
max-height: $baseline-grid * 4 * 6; // about 6 lines
@@ -387,3 +392,35 @@ md-dialog md-dialog-actions.sg-mail-editor-attachments {
.SOGoHTMLMail-CSS-Delimiter p {
margin: 0 0 1em;
}
[ui-view="maileditor"] {
// CKEditor
.ck.ck-editor__main>.ck-editor__editable {
border-left: 0px !important;
border-right: 0px !important;
border-bottom: 0px !important;
box-shadow: none!important;
border-color: var(--ck-color-widget-blurred-border) !important;
margin-bottom: 10px;
}
.ck.ck-toolbar {
border: 0px !important;
box-shadow: none!important;
}
.ck-editor__editable {
min-height: 300px!important;
}
.ck.ck-focused {
border-color: var(--ck-color-widget-blurred-border)!important;
}
.ck-dropdown__panel {
top: 100%!important;
bottom: auto!important;
right: 0!important;
left: auto!important;
}
}
@@ -1,14 +1,21 @@
/// PreferencesUI.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
.text-preview {
white-space: pre-wrap;
word-wrap: break-word;
}
[ui-view="signature"] {
.text-preview {
white-space: pre-wrap;
word-wrap: break-word;
}
.sub-information {
margin-bottom: 14px;
text-align: left;
font-size: 12px;
line-height: 14px;
font-weight: 600;
.sub-information {
margin-bottom: 14px;
text-align: left;
font-size: 12px;
line-height: 14px;
font-weight: 600;
}
// CKEditor
.ck-editor__editable {
min-height: 70px;
}
}