N°7552 - Polishing CKeditor (maximized mode, focus impossible if editor in a modal)

Fullscreen mode for portal (native browser method)
Windowed mode for console (JS method)
portal.css not minified
This commit is contained in:
jf-cbd
2024-06-13 10:31:42 +02:00
parent b8a9ea452f
commit b8c4be7a3d
7 changed files with 1898 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1849,3 +1849,23 @@ body.cke-maximized {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px lighten($state-danger-border, 10);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px lighten($state-danger-border, 10);
}
.ck.fullscreen-mode .ck.ck-content.ck-editor__editable,
.ck.fullscreen-mode .ck.ck-editor__main {
height: 100% !important;
resize: none !important;
}
.ck.ck-editor.fullscreen-mode {
display: flex !important;
flex-direction: column !important;
}
.ck.ck-editor.fullscreen-style-activated {
position: fixed !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
z-index: 99999 !important;
width: 100vw !important;
height: 100vh !important
}