class EditorSidebar extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
`;
if (window.feather) {
this.shadowRoot.querySelectorAll('[data-feather]').forEach(el => {
feather.replace(el);
});
}
}
}
customElements.define('editor-sidebar', EditorSidebar);