Ghost/ghost/admin/app/mixins
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
..
body-event-listener.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
current-user-settings.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
dropdown-mixin.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
editor-base-controller.js 🐛 fix loss of editor focus on new post autosave (#798) 2017-07-21 19:11:24 -04:00
editor-base-route.js 🎨 Focus editor content area by default (#768) 2017-07-10 17:09:50 +02:00
infinite-scroll.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
pagination.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
settings-menu-component.js 🎨 convert post-settings-menu into a component (#137) 2017-03-10 14:30:01 +00:00
shortcuts-route.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
shortcuts.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
slug-url.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
style-body.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
text-input.js 🐛 fix enter key not working in text inputs/areas (#771) 2017-07-10 19:09:11 +07:00
unauthenticated-route-mixin.js 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
validation-engine.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
validation-state.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00