Glitch remix: Glitch :・゚✧
I want to use EditorView.nodeDOM in Decoration.Widget toDOM. This is to get offsetHeight of the DOM and determine the height of the decoration.
However, when I reload browser and toDOM is called, an error occurs because there is no view.docView.
Is there any way to delay the rendering of decorations until the docView is added, or hook the addition of the docView to regenerate the decorations?