Add missing CSS for HTML comments in RichText
Because CSS for HTML comments in RichText is a part of BlockEditor, and we want to minimize the plugin build, this commit adds the necessary CSS. [MAILPOET-6387]
This commit is contained in:
committed by
Rostislav Wolný
parent
2f0cec5fde
commit
cd9b8dab64
@@ -143,3 +143,19 @@
|
||||
.block-editor-block-inspector__advanced {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Temporary styles for Rich Text HTML comments from the PR: https://github.com/WordPress/gutenberg/pull/62128/files
|
||||
[data-rich-text-comment],
|
||||
[data-rich-text-format-boundary] {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
[data-rich-text-comment] {
|
||||
background-color: currentColor;
|
||||
|
||||
span {
|
||||
color: currentColor;
|
||||
filter: invert(100%);
|
||||
padding: 0 2px;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user