Why does the new composer not trigger the «previewRefreshed» event anymore after the composer preview renders?


(Discourse.PRO) #1

The event was in the old composer:

(Robin Ward) #2

It is still triggered but it got moved into the composer-editor component.

Note that you shouldn’t have to observe that event yourself since there is a decorateCooked API that handles this for you. I did notice a bug in it though after seeing this post and it was fixed here:


Do you need to observe the event without decorateCooked?