diff --git a/src/editor/components/seList.js b/src/editor/components/seList.js index 66bbfd17..22587a10 100644 --- a/src/editor/components/seList.js +++ b/src/editor/components/seList.js @@ -4,15 +4,14 @@ import 'elix/define/DropdownList.js'; const template = document.createElement('template'); template.innerHTML = ` diff --git a/src/editor/components/seListItem.js b/src/editor/components/seListItem.js index 846d4e76..29c466e9 100644 --- a/src/editor/components/seListItem.js +++ b/src/editor/components/seListItem.js @@ -4,6 +4,11 @@ import 'elix/define/Option.js'; const template = document.createElement('template'); template.innerHTML = ` @@ -21,7 +26,9 @@ export class SeListItem extends HTMLElement { // create the shadowDom and insert the template this._shadowRoot = this.attachShadow({mode: 'open'}); this._shadowRoot.append(template.content.cloneNode(true)); - this.$menuitem = this._shadowRoot.querySelector('elix-menu-item'); + this.$menuitem = this._shadowRoot.querySelector('elix-option'); + this.$svg = this.$menuitem.shadowRoot.querySelector('#checkmark'); + this.$svg.setAttribute('style', 'display: none;'); } /** * @function observedAttributes diff --git a/src/editor/index.html b/src/editor/index.html index 5592933f..54dbaaa6 100644 --- a/src/editor/index.html +++ b/src/editor/index.html @@ -248,14 +248,14 @@ -
Sans-serif
-
Serif
-
Cursive
-
Fantasy
-
Monospace
-
Courier
-
Helvetica
-
Times
+ Serif + Sans-serif + Cursive + Fantasy + Monospace + Courier + Helvetica + Times