Add list functionality to rich text editor (#9871)
* adds buttons to toggle bulleted and numbered lists on and off * adds icons for those buttons * css changes to timeline display * adds tests for the new buttons, refactors existing tests
This commit is contained in:
parent
7975b07128
commit
6052db1e8a
8 changed files with 140 additions and 65 deletions
|
@ -619,6 +619,17 @@ $left-gutter: 64px;
|
|||
ul ol {
|
||||
list-style-type: revert;
|
||||
}
|
||||
|
||||
/* Make list type disc to match rich text editor */
|
||||
> ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
/* Remove top and bottom margin for better consecutive list display */
|
||||
> :is(ol, ul) {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue