mirror of
https://github.com/itflow-org/itflow
synced 2026-12-02 00:59:03 +00:00
Markdown toolbar: the Markdown box has a toolbar like the rich text editor's - headings, bold, italic, strikethrough, link, bulleted and numbered lists, checklist, quote, code, code block, table, line and picture - acting on the selection or the cursor's line and off again when already applied, with Ctrl+B, Ctrl+I and Ctrl+K, Enter continuing or ending a list, and changes undoable with Ctrl+Z; 26.12.3 changelog entries
This commit is contained in:
@@ -5656,6 +5656,44 @@ tr:hover .itflow-files-rename,
|
||||
padding: .35rem .8rem;
|
||||
font-size: .875rem;
|
||||
}
|
||||
/* Its toolbar - the rich text editor's, as Markdown */
|
||||
.itflow-markdown-toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: .125rem;
|
||||
padding: .3rem .4rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-top: 0;
|
||||
background-color: var(--bs-body-bg);
|
||||
}
|
||||
.itflow-markdown-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 2rem;
|
||||
height: 2rem;
|
||||
padding: 0 .35rem;
|
||||
border: 0;
|
||||
border-radius: .3rem;
|
||||
background: none;
|
||||
color: var(--bs-body-color);
|
||||
}
|
||||
.itflow-markdown-button:hover,
|
||||
.itflow-markdown-button:focus-visible,
|
||||
.itflow-markdown-button[aria-expanded="true"] {
|
||||
background-color: var(--bs-tertiary-bg);
|
||||
color: var(--bs-emphasis-color);
|
||||
}
|
||||
.itflow-markdown-button.dropdown-toggle::after {
|
||||
margin-left: .2rem;
|
||||
}
|
||||
.itflow-markdown-toolbar-gap {
|
||||
width: 1px;
|
||||
height: 1.25rem;
|
||||
margin: 0 .25rem;
|
||||
background-color: var(--bs-border-color);
|
||||
}
|
||||
.itflow-markdown-input {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
|
||||
Reference in New Issue
Block a user