feat(dev): insert current date and time command in super note (#1994)

This commit is contained in:
Mo
2022-11-11 06:32:31 -06:00
committed by GitHub
parent bdfda04d69
commit e27ac3126e
8 changed files with 141 additions and 3 deletions

View File

@@ -35,7 +35,6 @@ export default function HorizontalRulePlugin(): null {
if (focusNode !== null) {
const horizontalRuleNode = $createHorizontalRuleNode();
selection.insertParagraph();
selection.focus
.getNode()
.getTopLevelElementOrThrow()

View File

@@ -1041,7 +1041,7 @@ body {
}
hr {
padding: 2px 2px;
padding: 2px 0px;
border: none;
margin: 1em 0;
cursor: pointer;
@@ -1051,7 +1051,7 @@ body {
content: '';
display: block;
height: 2px;
background-color: var(--sn-stylekit-contrast-border-color);
background-color: var(--sn-stylekit-secondary-background-color);
line-height: 2px;
}