Slight modification to editor.getContent() to allow no arguments passed in to process