/** * woocommerce-classictheme-editor-fonts.scss * Governs the fonts loaded in the editor when classic themes are used. */ /** * Imports */ @import "fonts"; /** * This class is necessary to ensure that this CSS is loaded in the Gutenberg iframe. * For more information, see https://github.com/WordPress/gutenberg/blob/7129676335fe56802978a9511d860865f7e65aec/packages/block-editor/src/components/iframe/get-compatibility-styles.js#L3-L10 */ /** * ! important: this rule must be preserved during build. * It only needs a minimal declaration so it is not removed. Avoid `content`: * it is reported to hide images that carry the `wp-block` class in Safari. */ .wp-block { --wc-editor-fonts-loaded: 1; }