1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Added WYSIWYG tasklist clicking ability

This commit is contained in:
Dan Brown
2022-03-20 11:59:46 +00:00
parent 65dd7ad1e9
commit b6be8a2bb9
2 changed files with 38 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ body.page-content.mce-content-body {
/**
* Fake task list checkboxes
*/
.page-content.mce-content-body .task-list-item {
margin-left: 0;
position: relative;
}
.page-content.mce-content-body .task-list-item > input[type="checkbox"] {
display: none;
}
@@ -130,6 +134,9 @@ body.page-content.mce-content-body {
margin-right: 8px;
vertical-align: text-top;
cursor: pointer;
position: absolute;
left: -24px;
top: 4px;
}
.page-content.mce-content-body .task-list-item[checked]:before {