zhuochun / md-writer

✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers
https://atom.io/packages/markdown-writer
MIT License
341 stars 46 forks source link

HTMLDocument.registerElement is deprecated. #314

Open motor1n opened 1 year ago

motor1n commented 1 year ago

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement (file:///app/Pulsar/resources/app.asar/static/index.js:100:12)
registerElement (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:66:88)
Builder.openTag (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:297:27)
Builder.tag (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:274:12)
Function.div (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/node_modules/space-pen/lib/space-pen.js:83:49)
Function.content (/home/art/.var/app/dev.pulsar_edit.Pulsar/data/packages/markdown-writer/lib/views/insert-image-file-view.coffee:34:19)