mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +03:00
Lexical: Updated toolbar & text node exporting
- Updated toolbar to match existing editor, including dynamic RTL/LTR controls. - Updated text node handling to not include spans and extra classes when not needed. Added & update tests to cover.
This commit is contained in:
@@ -27,6 +27,7 @@ body.editor-is-fullscreen {
|
||||
}
|
||||
.editor-content-area {
|
||||
min-height: 100%;
|
||||
padding-block: 1rem;
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
@@ -136,7 +137,6 @@ body.editor-is-fullscreen {
|
||||
background-color: #FFF;
|
||||
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
|
||||
z-index: 99;
|
||||
min-width: 120px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
@@ -35,12 +35,15 @@
|
||||
}
|
||||
|
||||
@include larger-than($xxl) {
|
||||
.page-editor-wysiwyg2024 .page-edit-toolbar,
|
||||
.page-editor-wysiwyg2024 .page-editor-page-area,
|
||||
.page-editor-wysiwyg .page-edit-toolbar,
|
||||
.page-editor-wysiwyg .page-editor-page-area {
|
||||
max-width: 1140px;
|
||||
}
|
||||
|
||||
.page-editor-wysiwyg .floating-toolbox {
|
||||
.page-editor-wysiwyg .floating-toolbox,
|
||||
.page-editor-wysiwyg2024 .floating-toolbox {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user