Medium-editor.js hierarchy issue

I think this issue was raised in 2019. It sounds similar anyway.