From e88d9fc6b20bff0f1021ec4dcd5f9dfdb69fb406 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 30 Apr 2024 13:06:06 -0400 Subject: [PATCH] Editor styles: Override the browser native styling for `mark` to match the frontend. Fixes #134 --- source/wp-content/themes/wporg-parent-2021/sass/editor.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/wp-content/themes/wporg-parent-2021/sass/editor.scss b/source/wp-content/themes/wporg-parent-2021/sass/editor.scss index 87d29514..83dd4016 100644 --- a/source/wp-content/themes/wporg-parent-2021/sass/editor.scss +++ b/source/wp-content/themes/wporg-parent-2021/sass/editor.scss @@ -20,6 +20,11 @@ justify-content: stretch; } +// Override the browser native styling to match the frontend. +mark.has-inline-color { + background-color: transparent; +} + // Overwrite a style from wp4.css. h3 a { font-weight: revert; // stylelint-disable-line font-weight-notation