1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Lexical: Updated lexical, added undo state tracking, format styles

This commit is contained in:
Dan Brown
2024-06-23 11:36:48 +01:00
parent ac01c62e6e
commit a07092b7e6
6 changed files with 251 additions and 165 deletions

View File

@@ -21,6 +21,12 @@
cursor: pointer;
color: #000;
}
.editor-button[disabled] {
pointer-events: none;
cursor: not-allowed;
background-color: #EEE;
opacity: .6;
}
.editor-button-active, .editor-button-active:hover {
background-color: #ceebff;
color: #000;
@@ -181,4 +187,21 @@
.editor-table-marker-row {
height: 4px;
cursor: row-resize;
}
// Editor theme styles
.editor-theme-bold {
font-weight: bold;
}
.editor-theme-italic {
font-style: italic;
}
.editor-theme-strikethrough {
text-decoration-line: line-through;
}
.editor-theme-underline {
text-decoration-line: underline;
}
.editor-theme-underline-strikethrough {
text-decoration: underline line-through;
}