Open
Description
Describe the bug
If you have html nodes inside contenteditable
block, which are wrapped with {#if}{/if}
— removing that nodes will throw an error after update.
Logs
Uncaught (in promise) TypeError: Cannot read property 'removeChild' of null at detach at Array.forEach at HtmlTag.d at HtmlTag.p at Object.update [as p] at Object.update [as p] at update at flush
To Reproduce
That behavior is reproducible, here is REPL https://svelte.dev/repl/fa601199d8d345d3977bf48bdb8d14f4?version=3.24.1