#3549525 ensure useGetCodeEditorData has current autosave data.
Address problem where useGetCodeEditorData does not check for new autosave data if the editor is open
Closes #3549525
Edited by Ben Mullins
Address problem where useGetCodeEditorData does not check for new autosave data if the editor is open
Closes #3549525