PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/Agent/hooks/useVariationOverride.js +2 -0 3.1.1 → trunk View file →
@@ -1,4 +1,5 @@
1 +import { refreshBlockHighlight } from '@agent/lib/block-highlight';
1 2 import { getDynamicDuotoneMap } from '@agent/lib/svg-blocks-scanner';
2 3 import { replaceDuotoneSVG } from '@agent/lib/svg-helpers';
3 4 import { parse } from '@wordpress/blocks';
4 5 import { useSelect } from '@wordpress/data';
@@ -22,8 +23,9 @@
22 23 if (!frontStyles.current) {
23 24 frontStyles.current = style.innerHTML;
24 25 }
25 26 style.innerHTML = css;
27 + refreshBlockHighlight();
26 28 }, [css]);
27 29
28 30 // Handle the editor
29 31 useEffect(() => {