Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix hidden collapse/expand icon when callout title is empty (#9220)

01zulfi751d0ca861bb
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index aad26cf2d..c80c6a1bc 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -965,6 +965,10 @@ del.diffdel {
display: none !important;
}
+.ProseMirror div.callout > :is(h1, h2, h3, h4, h5, h6):first-child.empty::after {
+ display: inline-block !important;
+}
+
@media screen and (max-width: 768px) {
.ProseMirror h1::after,
.ProseMirror h2::after,