diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index f5499bd1c..2231cc05a 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -339,7 +339,9 @@ width: 100%; font-weight: 600; cursor: text; - & + p { + & + p, + // accounts for block insert trigger and other widgets between heading and paragraph + & + .ProseMirror-widget + p { margin-top: 0.25em; }