Ghost/ghost/admin/app/utils
Kevin Ansfield ebc8cc8ed2 ctrl/cmd-shift-i triggers image file dialog (#750)
closes https://github.com/TryGhost/Ghost/issues/8523
- use shortcuts mixin to register `cmd-shift-i` shortcut in
`gh-markdown-editor` that triggers the image insertion dialog
- joins multiple uploaded images with new lines instead of a space for
easier editing post-upload
- add `captureSelection` option to `_openImageFileDialog` so that
insertion shortcut triggered when editor doesn't have focus doesn't
insert at the last focused char position
- if image insertion happens with no cursor position add two newlines
before the inserted image markdown for easier editing (previously it
would be inserted immediately after the last char in the post)
- removes unused `editor-shortcuts.js` file
2017-06-22 13:02:38 +01:00
..
bound-one-way.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
caja-sanitizers.js use markdown-it for markdown previews (#690) 2017-05-15 18:51:19 +02:00
ctrl-or-cmd.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
date-formatting.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
document-title.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
format-markdown.js 🐛 fix missing meta description preview (#719) 2017-05-30 15:07:12 +02:00
ghost-paths.js 🎨 Change asset path to /ghost/assets (#309) 2016-10-07 16:16:26 -05:00
isFinite.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
isNumber.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
link-component.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
random-password.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
route.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
text-field.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
titleize.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
validator-extensions.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
window-proxy.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
word-count.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00