From ace18ce3360b7ec2a2f35e3327c1c6229237e001 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 29 Mar 2023 18:42:01 -0400 Subject: [PATCH] fix: Soft breaks after text with comment mark does not work. Note: This CSS was added waaaay back here: https://github.com/outline/rich-markdown-editor/commit/2d5d5d3e4e17ee517b214243a146b19d9b1dacb4 Since then the equivalent rule has moved to be more specific and this was vestigial. closes #5119 --- shared/editor/components/Styles.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 36f7dbe2e..9f91264db 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -689,10 +689,6 @@ p { margin: 0; min-height: 1.6em; - span:first-child + br:last-child { - display: none; - } - a { color: ${props.theme.text}; text-decoration: underline;