{"action":"closed","issue":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2655","repository_url":"https://api.github.com/repos/froala/wysiwyg-editor","labels_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2655/labels{/name}","comments_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2655/comments","events_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2655/events","html_url":"https://github.com/froala/wysiwyg-editor/issues/2655","id":305858042,"number":2655,"title":"Firefox caches editor content after page reload (using textarea init)","user":{"login":"chrisdeeming","id":2158514,"avatar_url":"https://avatars0.githubusercontent.com/u/2158514?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisdeeming","html_url":"https://github.com/chrisdeeming","followers_url":"https://api.github.com/users/chrisdeeming/followers","following_url":"https://api.github.com/users/chrisdeeming/following{/other_user}","gists_url":"https://api.github.com/users/chrisdeeming/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdeeming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdeeming/subscriptions","organizations_url":"https://api.github.com/users/chrisdeeming/orgs","repos_url":"https://api.github.com/users/chrisdeeming/repos","events_url":"https://api.github.com/users/chrisdeeming/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdeeming/received_events","type":"User","site_admin":false},"labels":[{"id":78343953,"url":"https://api.github.com/repos/froala/wysiwyg-editor/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-16T09:34:52Z","updated_at":"2018-03-19T11:03:15Z","closed_at":"2018-03-19T11:03:15Z","author_association":"NONE","body":"##### Expected behavior.\r\nReloading the page should clear the editor contents.\r\n\r\n##### Actual behavior.\r\nReloading the page keeps the previous editor contents. A hard reload will clear it.\r\n\r\n##### Steps to reproduce the problem.\r\n1. Open the [Froala textarea demo](https://www.froala.com/wysiwyg-editor/examples/textarea)\r\n2. Type some junk in the editor\r\n3. Reload the page\r\n4. Contents are still there\r\n5. Hard reload the page\r\n6. Contents are gone (well, default contents come back)\r\n\r\n##### OS.\r\nTested with macOS\r\n\r\n##### Browser.\r\nFirefox only.\r\n\r\nSide note: I have often found Firefox has some very undesirable behaviour in terms of caching the value of certain input types on back/reload. This could be a Firefox quirk/feature, but it's worth noting I can't reproduce the same in a standard, basic, textarea element. Interesting it only applies to textarea initialisation though.\r\n"}}
{"actor":{"display_login":"stefanneculai"}}