Skip to content

Commit

Permalink
💄 取消对blockquote折叠的特殊处理 #120
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Nov 16, 2024
1 parent 44a7a47 commit cdbbbd4
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions style/module/fold.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
left: -13px !important;
margin-top: -6px;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]):not(.li, .sb) {
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]):not(.li, .sb,.bq) {
overflow: visible !important;
/* font-size: inherit; */
/* line-height: inherit; */
Expand Down Expand Up @@ -209,30 +209,6 @@
top: 0.5em;
}

.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).bq div,
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).p div[contenteditable='true'] {
display: none;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).bq {
border-width: 0px !important;
box-shadow: none !important;
background-color: unset;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).bq > div:first-child {
display: block;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).bq > div:first-child * {
display: none;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).bq > div:first-child:before {
content: 'Blockquote';
font-size: 1rem;
margin-left: -0.8em;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).bq::after {
top: 0.8em;
left: -2em;
}
.protyle-wysiwyg [data-node-id][fold='1']:not([heading-fold="1"]).p::before {
content: 'Text';
}
Expand Down

0 comments on commit cdbbbd4

Please sign in to comment.