Updated editorView to fix bug with dataLoaded event