1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +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:
Dan Brown
2024-09-23 17:36:16 +01:00
parent 8b32e6c15a
commit a62d8381be
16 changed files with 152 additions and 51 deletions

View File

@ -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;
}