OliverBalfour / obsidian-pandoc

Pandoc document export plugin for Obsidian (https://obsidian.md)
MIT License
677 stars 58 forks source link

Failed to execute 'removeChild on 'Node' #196

Open FranticPanic opened 11 months ago

FranticPanic commented 11 months ago

Hello,

I've been using this to export documents occasionally when the built-in Obsidian export just wasn't enough and I needed things such as a TOC or other functions that pandoc is able to provide.

Recently I attempted to export a document from obsidian markdown to multiple different formats, and I keep receiving the following error.

DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at eval (plugin:obsidian-pandoc:9942:108)
    at Array.forEach (<anonymous>)
    at eval (plugin:obsidian-pandoc:9942:84)
    at Generator.next (<anonymous>)
    at eval (plugin:obsidian-pandoc:49:61)
    at new Promise (<anonymous>)
    at __async (plugin:obsidian-pandoc:33:10)
    at postProcessRenderedHTML (plugin:obsidian-pandoc:9878:10)
    at eval (plugin:obsidian-pandoc:9756:11)
    at Generator.next (<anonymous>)
eval @ plugin:obsidian-pandoc:10202

I've tried re-installing to make sure I didn't change a setting that I was unaware of and still face the same error when exporting from markdown to docx, pdf, html, pandoc markdown and/or mediawiki. This seems to error out completely anytime I try to export to most, if not all available formats.

Did a recent update to Obsidian break this plugin? It appears that there hasn't been a whole lot of movement in this repo which is very unfortunate as this was very useful when it worked

xmacex commented 10 months ago

I have this too.