Skip to content

Commit

Permalink
KAD-4019 fixed google fonts in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbert-hernandez committed Feb 12, 2025
1 parent e6949fc commit 79457f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/blocks/listitem/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {
TypographyControls,
ResponsiveMeasureRangeControl,
GradientControl,
KadenceWebfontLoader,
} from '@kadence/components';

import { applyFilters } from '@wordpress/hooks';
Expand Down Expand Up @@ -818,6 +819,14 @@ function KadenceListItem(props) {
)}
</InspectorControls>

{markGoogleFont && markTypography && (
<KadenceWebfontLoader
typography={[{ family: markTypography, variant: markFontVariant ? markFontVariant : '' }]}
clientId={clientId}
id={'advancedHeadingMark'}
/>
)}

<div
className={`kt-svg-icon-list-item-wrap-${uniqueID} kt-svg-icon-list-item-0 kt-svg-icon-list-level-${level}${
style ? ' kt-svg-icon-list-style-' + style : ''
Expand Down

0 comments on commit 79457f2

Please sign in to comment.