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

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

- Page: https://pluginprobe.com/plugins/elementor/4.3.1/code/assets/js/design-system-sync.min.js
- Raw: https://pluginprobe.com/plugins/elementor/4.3.1/raw/assets/js/design-system-sync.min.js
- Modified: 2026-09-01T11:47:36+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.3.1/code/assets/js/design-system-sync.min.js#L10-L20`.

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