|
|
|
@ -6,6 +6,7 @@ export class TextEdit extends HTMLElement {
|
|
|
|
this.stackEl.classList.add('stack')
|
|
|
|
this.stackEl.classList.add('stack')
|
|
|
|
this.textEl = document.createElement('textarea')
|
|
|
|
this.textEl = document.createElement('textarea')
|
|
|
|
this.textEl.classList.add('text')
|
|
|
|
this.textEl.classList.add('text')
|
|
|
|
|
|
|
|
this.textEl.setAttribute('spellcheck', 'false')
|
|
|
|
this.textEl.rows = 1
|
|
|
|
this.textEl.rows = 1
|
|
|
|
this.stackEl.appendChild(this.textEl)
|
|
|
|
this.stackEl.appendChild(this.textEl)
|
|
|
|
this.shadowRoot.appendChild(this.stackEl)
|
|
|
|
this.shadowRoot.appendChild(this.stackEl)
|
|
|
|
|