compare file ids before set editor content, set editor content only when the content file id equals the one recorded in browser.