# elementor/4.0.2/assets/js/design-system-sync.min.js

Elementor Website Builder – more than just a page builder, version 4.0.2. 1 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.0.2/code/assets/js/design-system-sync.min.js
- Raw: https://pluginprobe.com/plugins/elementor/4.0.2/raw/assets/js/design-system-sync.min.js
- Modified: 2026-03-30T09:49:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/4.0.2/code/assets/js/design-system-sync.min.js#L10-L20`.

```javascript
(()=>{"use strict";!function(){var e,n=wpApiSettings.root+"elementor/v1/design-system-sync/stylesheet",t="elementor-design-system-sync-css";function syncDesignSystem(){fetch(n,{method:"POST",headers:{"X-WP-Nonce":wpApiSettings.nonce}}).then(function(e){if(e.ok)return e.json()}).then(function(e){e&&(!function refreshGlobals(){var e=$e.components.get("globals");null==e||e.refreshGlobalData(),null==e||e.populateGlobalData()}(),function reloadCanvasDesignSyncStyles(e){var n=e.url,s=e.version,o=document.getElementById("elementor-preview-iframe");if(null==o||!o.contentDocument)return;var i=o.contentDocument.getElementById(t);i||((i=o.contentDocument.createElement("link")).id=t,i.rel="stylesheet",o.contentDocument.head.appendChild(i));i.href=n+"?ver="+s}(e))})}window.addEventListener("classes:updated",function onClassesUpdated(n){"frontend"===n.detail.context&&(clearTimeout(e),e=setTimeout(syncDesignSystem,500))}),window.addEventListener("variables:updated",function(){clearTimeout(e),e=setTimeout(syncDesignSystem,500)})}()})();
```
