1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Go to file
Ryan McCarvill f5fc35fb98 improved card selection behaviour (#608)
Refs: https://github.com/TryGhost/Ghost/issues/8191
Refs: https://github.com/TryGhost/Ghost/issues/8194

Changes the selection behaviour of mobiledoc-cards:
If you navigate to a card with a keyboard or click on the new editor toolbar it "hard selects".
If you click into the body of a card to edit it it "soft selects".

When a card is "hard selected" you can navigate out of the card and to the previous or following blocks within the mobiledoc with the keyboard, you can delete the current card with the backspace or delete button, and you can create a new block following the card with the enter key.

When a card is soft selected it is simply displayed as selected and allows the user to edit content within the card.

New card toolbar:
Allows a user to delete the card, save the card, and "hard select" a card.

New title behaviour:
Pressing the enter key within the title "splits" the title at the cursor point, if multiple characters are selected they are first deleted, and creates a new paragraph at the top of the document with the trailing characters after the split.

gh-cm-editor updates:
Adds an on-focus event to gh-cm-editor
2017-03-30 15:29:08 +01:00
.github Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2016-05-23 10:50:15 +01:00
app improved card selection behaviour (#608) 2017-03-30 15:29:08 +01:00
config deps: ember-cli@2.12.1 (#604) 2017-03-28 11:29:18 +01:00
lib improved card selection behaviour (#608) 2017-03-30 15:29:08 +01:00
mirage 🔥 remove Posts per Page setting (#583) 2017-03-14 18:09:06 +01:00
public/assets Card menu trigger styling 2017-03-15 17:43:12 +02:00
tests deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli grunt init, dev 2015-03-11 12:37:41 -06:00
.eslintrc.js switch from jshint/jscs to eslint 2016-11-14 13:25:36 +00:00
.gitignore chore(package): update ember-cli to version 2.9.0 (#354) 2016-10-21 09:07:49 +01:00
.travis.yml remove editor install step from Travis 2017-03-02 11:09:38 +00:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
bower.json deps: ember@2.11.0 2017-02-01 17:03:38 -06:00
ember-cli-build.js deps: ember-cli@2.12.1 (#604) 2017-03-28 11:29:18 +01:00
four.css 👷🏻‍♀️🚧👷 Ghost-Editor integration. 2017-03-02 09:56:51 +00:00
Gruntfile.js grunt dev admin livereload (#590) 2017-03-30 13:27:01 +01:00
LICENSE 2017 2017-01-04 10:32:54 +00:00
package.json grunt dev admin livereload (#590) 2017-03-30 13:27:01 +01:00
README.md Add code coverage badge to README (#486) 2017-01-11 13:09:26 +00:00
testem.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
yarn.lock grunt dev admin livereload (#590) 2017-03-30 13:27:01 +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.