✏️ 正在编辑: design-system-sync.min.js
路径:
/home/eblama1/mintawon.farm/wp-content/plugins/elementor/assets/js/design-system-sync.min.js
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
(()=>{"use strict";!function(){var e,t=wpApiSettings.root+"elementor/v1/design-system-sync/stylesheet",n="elementor-design-system-sync-css";function syncDesignSystem(){fetch(t,{method:"POST",headers:{"X-WP-Nonce":wpApiSettings.nonce}}).then(function(e){if(e.ok&&204!==e.status)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 t=e.url,s=document.getElementById("elementor-preview-iframe");if(null==s||!s.contentDocument)return;var o=s.contentDocument.getElementById(n);o||((o=s.contentDocument.createElement("link")).id=n,o.rel="stylesheet",s.contentDocument.head.appendChild(o));o.href=t}(e))})}window.addEventListener("classes:updated",function onClassesUpdated(t){"frontend"===t.detail.context&&(clearTimeout(e),e=setTimeout(syncDesignSystem,500))}),window.addEventListener("variables:updated",function(){clearTimeout(e),e=setTimeout(syncDesignSystem,500)})}()})();
💾 保存文件
← 返回文件管理器