Open stevelinus opened 1 year ago
Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
customElements.define
document.registerElement
HTMLDocument.registerElement (file:///C:/Users/xxx/AppData/Local/atom/app-1.63.1/resources/app.asar/static/index.js:160:12) registerElement (C:\Users\xxx\.atom\packages\markmon-preview\node_modules\space-pen\lib\space-pen.js:66:88) Builder.openTag (C:\Users\xxx\.atom\packages\markmon-preview\node_modules\space-pen\lib\space-pen.js:297:27) Builder.tag (C:\Users\xxx\.atom\packages\markmon-preview\node_modules\space-pen\lib\space-pen.js:274:12) Function.div (C:\Users\xxx\.atom\packages\markmon-preview\node_modules\space-pen\lib\space-pen.js:83:49) Function.content (C:\Users\xxx\.atom\packages\markdown-mindmap\lib\markdown-mindmap-view.coffee:66:19)
Use
customElements.define
instead ofdocument.registerElement
see https://javascript.info/custom-elements