diff --git a/packages/editor/src/components/rich-text/style.scss b/packages/editor/src/components/rich-text/style.scss index 097fa156607dd..c1de17bf6076e 100644 --- a/packages/editor/src/components/rich-text/style.scss +++ b/packages/editor/src/components/rich-text/style.scss @@ -19,18 +19,10 @@ // to be saved. white-space: pre-wrap; - > p:empty { - min-height: $editor-font-size * $editor-line-height; - } - > p:first-child { margin-top: 0; } - &:focus { - outline: none; - } - a { color: $blue-medium-700; } @@ -49,6 +41,9 @@ } &:focus { + // Removes outline added by the browser. + outline: none; + *[data-rich-text-format-boundary] { border-radius: 2px; box-shadow: 0 0 0 1px $light-gray-400;