You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time static/page1 and static/page2 load, content displays fine. After that, clicking again (say) page1, the editor will still display page2's content. Furthermore, if you click inside the editor, it will replace page1's content with page2's content.
Workaround
The workaround is to force the Ember Data to query the API again, forcing the outlet to redraw and didInsertElement to re-fire.
Content updates only when didInsertElement gets triggered.
Example
The first time
static/page1
andstatic/page2
load, content displays fine. After that, clicking again (say)page1
, the editor will still displaypage2
's content. Furthermore, if you click inside the editor, it will replacepage1
's content withpage2
's content.Workaround
The workaround is to force the
Ember Data
to query the API again, forcing the outlet to redraw and didInsertElement to re-fire.The text was updated successfully, but these errors were encountered: