0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/ghost/admin
Kevin Ansfield a0af248df4 🎨 Focus editor content area by default (#768)
closes TryGhost/Ghost#8525

- always give focus to the editor content area by default when loading the editor
- allow content autosave to work for new posts (it was previously turned off for new posts)
- move transition-on-save behaviour from editor/new controller into the controller mixin's save routine
- cancel background autosave when "are you sure you want to leave?" modal is shown as it can cause the "leave" option to fail because it attempts to delete the post record that can be in flight (plus if we're saving anyway it doesn't make much sense to ask the user  🙈) - this is quite an edge-case as it will only happen if the user makes a content change to a draft post then tries to leave the screen within 3 seconds
- change the editor placeholder text
- wait for any save task to finish before exiting the new post route (fixes infinite loop and popup of "are you sure you want to leave?" modal that is then closed automatically straight away
- add a guard to the `gh-post-settings-menu` component so that if the authors query takes a while we don't end up trying to set a value when the component has already been removed
2017-07-10 17:09:50 +02:00
..
.github
app 🎨 Focus editor content area by default (#768) 2017-07-10 17:09:50 +02:00
config bump dependencies (#673) 2017-05-09 18:15:04 -05:00
lib Editor refactors (#679) 2017-05-08 10:44:02 +01:00
mirage 🐛 fix autosave+transition on title blur with empty title (#767) 2017-07-10 18:33:05 +07:00
public/assets Minimal client extensions (#759) 2017-06-22 20:37:04 +02:00
tests 🐛 fix autosave+transition on title blur with empty title (#767) 2017-07-10 18:33:05 +07:00
.editorconfig
.ember-cli
.eslintrc.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
.gitignore
.travis.yml
.watchmanconfig
bower.json Fix split screen editor (#684) 2017-05-08 19:15:56 +01:00
ember-cli-build.js 🐛 fix sticky save notifications (#762) 2017-07-04 11:20:25 +01:00
Gruntfile.js 🛠 switch to using yarn in our Grunt tasks (#613) 2017-04-04 11:36:17 +01:00
LICENSE
package.json 🚀 supercharge tags performance 2017-07-07 17:53:08 +01:00
README.md
testem.js
yarn.lock 🚀 supercharge tags performance 2017-07-07 17:53:08 +01:00

Ghost-Admin

Build Status Coverage Status

This is the home of Ember.js based admin client that ships with Ghost. For now, refer to that repository for install and development instructions.

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2017 Ghost Foundation - Released under the MIT license.