diff --git a/ts/editor/editable.scss b/ts/editor/editable.scss index 9cd7186f3..7489a48a4 100644 --- a/ts/editor/editable.scss +++ b/ts/editor/editable.scss @@ -16,6 +16,16 @@ anki-editable { } } +p { + margin-top: 0; + margin-bottom: 1rem; + + &:empty::after { + content: "\a"; + white-space: pre; + } +} + :host-context(.nightMode) * { @include scrollbar.night-mode; }