diff --git a/src/editor/components/seList.js b/src/editor/components/seList.js index 66bbfd17..a069e760 100644 --- a/src/editor/components/seList.js +++ b/src/editor/components/seList.js @@ -4,16 +4,13 @@ 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..c23f01b5 100644 --- a/src/editor/components/seListItem.js +++ b/src/editor/components/seListItem.js @@ -21,7 +21,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..9e77520a 100644 --- a/src/editor/index.html +++ b/src/editor/index.html @@ -248,14 +248,14 @@ -
Sans-serif
-
Serif
-
Cursive
-
Fantasy
-
Monospace
-
Courier
-
Helvetica
-
Times
+ Sans-serif + Serif + Cursive + Fantasy + Monospace + Courier + Helvetica + Times