feat: Enable block insertion in table cells from formatting menu

fix: Remove gutter controls from headers not at root
This commit is contained in:
Tom Moor
2024-06-01 12:21:33 -04:00
parent f2e9c0ab23
commit 938fd6ed2d
2 changed files with 27 additions and 17 deletions

View File

@@ -357,7 +357,7 @@ width: 100%;
}
&:not(.placeholder):before {
display: ${props.readOnly ? "none" : "inline-block"};
display: none;
font-family: ${props.theme.fontFamilyMono};
color: ${props.theme.textSecondary};
font-size: 13px;
@@ -774,7 +774,7 @@ h6:not(.placeholder):before {
background: ${props.theme.background};
margin-${props.rtl ? "right" : "left"}: -26px;
flex-direction: ${props.rtl ? "row-reverse" : "row"};
display: inline-flex;
display: none;
position: relative;
top: -2px;
width: 26px;
@@ -809,6 +809,22 @@ h6 {
}
}
.ProseMirror > {
h1,
h2,
h3,
h4,
h5,
h6 {
.heading-actions {
display: inline-flex;
}
&:not(.placeholder):before {
display: ${props.readOnly ? "none" : "inline-block"};
}
}
}
.heading-fold {
display: inline-block;
transform-origin: center;
@@ -864,9 +880,6 @@ h6 {
a {
color: ${props.theme.noticeInfoText};
}
a:not(.heading-name) {
text-decoration: underline;
}