Ghost/ghost/admin/app/routes/editor
Kevin Ansfield 5a47f2ae4b 🐛 fix loss of editor focus on new post autosave (#798)
refs TryGhost/Ghost#8723
- #795 contained a regression where the body focus was lost during the new->edit transition because at that point `model.isNew` is false
- returns `shouldFocusEditor` code that was removed in #768 (it was assumed the body should _always_ have focus in that PR)
- instant-save if body is edited and the post is new - fixes issue where you could keep typing without any save when body had autofocus
- don't show preview link for new posts - fixes issue where it links directly to the admin endpoint so it would force a refresh
2017-07-21 19:11:24 -04:00
..
edit.js 🐛 fix loss of editor focus on new post autosave (#798) 2017-07-21 19:11:24 -04:00
index.js
new.js 🐛 fix loss of editor focus on new post autosave (#798) 2017-07-21 19:11:24 -04:00