fix: Text caret not placed in new math block after creation

fix: Excessive padding on inline math node
This commit is contained in:
Tom Moor
2023-07-25 00:04:14 -04:00
parent d94caf2783
commit 15c8a4867f
2 changed files with 14 additions and 2 deletions

View File

@@ -268,6 +268,11 @@ width: 100%;
padding: ${props.editorStyle?.padding ?? "initial"};
margin: ${props.editorStyle?.margin ?? "initial"};
.ProseMirror {
padding: 0;
margin: 0;
}
& > .ProseMirror-yjs-cursor {
display: none;
}