Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

@@ -63,6 +63,7 @@ customElements.define('theme-editor', class extends HTMLElement {
this.cssEditorInstance = e.detail.instance;
this.showOrHideCSSWarning();
}
this.showOrHideRevertButton();
});
this.debounceTimeout = undefined;
@@ -675,7 +676,7 @@ customElements.define('theme-editor', class extends HTMLElement {
*/
async updateCustomCSS(){
let content = document.querySelector('#customCSS').value.replace(/<\/style>/g, '');
let content = document.querySelector('#customCSS').textContent.replace(/<\/style>/g, '');
this.customCSSEditor.value = content;
this.settings.custom = content;
@@ -798,7 +799,7 @@ customElements.define('theme-editor', class extends HTMLElement {
}
// Always open the panel with the swatch picker visible
let swatchTab = document.querySelector('[aria-controls="content__colorSelector__swatches"]');
let swatchTab = document.querySelector('[aria-controls="content__colorSelector__swatches_panel"]');
if(swatchTab.getAttribute("aria-expanded") === "false"){
swatchTab.click()
}