Ghost/ghost/admin
Kevin Ansfield 1dad18a06c Added language selection to code cards (#1180)
no issue

- Added a language indicator when in rendered mode and a language input when in edit mode
- Allow code card language to be set with <code>```lang</code>+<kbd>Space/Enter</kbd> expansion 
    - previously <code>\`\`\`</code> would immediately create a code card, the <kbd>Space/Enter</kbd> is now necessary for the insertion to occur
    - lang is optional <code>\`\`\`</code>+<kbd>Space/Enter</kbd> will insert a code card with no language selected
    - requires <kbd>Enter</kbd> to be pressed to finalise the expansion and insert the card
    - added hook for text expansions to skip newline creation for when they are triggered with <kbd>Enter</kbd>
- Set the code card editor's language mode based on selected language
    - set the CodeMirror mode based on the code card payload language
        - add a basic map of language short codes to their respective CodeMirror modes
    - observe `mode` property in `{{gh-cm-editor}}` so that the mode is properly set when it's changed after initial render
2019-04-30 16:46:29 +02:00
..
.github Updated / simplified contributing.md 2019-02-11 16:44:34 +00:00
app Added language selection to code cards (#1180) 2019-04-30 16:46:29 +02:00
config Update ember core to v3.9.0 (minor) (#1147) 2019-04-09 14:21:48 +01:00
lib Added language selection to code cards (#1180) 2019-04-30 16:46:29 +02:00
mirage Improved theme upload/activate flow and error styles (#1142) 2019-04-05 17:27:14 +01:00
public/assets Added placeholder illustration for posts and pages 2019-03-25 16:43:38 +01:00
tests Increase timeout for gh-uploader progress bar assertion 2019-04-29 16:56:19 +02:00
.csscomb.json Unsplash integration 2017-08-15 16:01:12 +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
.eslintignore Bumped ember core dependencies to 3.5.x 2019-03-06 07:39:51 +00:00
.eslintrc.js Bower => NPM (#972) 2018-03-19 17:56:09 +00:00
.gitignore Bumped ember core dependencies to 3.7.x 2019-03-07 16:25:43 +00:00
.travis.yml Updated .travis.yml swap renovate build to push (#1162) 2019-04-22 10:19:21 +01:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
ember-cli-build.js 🐛 Fixed syntax highlighting inside Code Injection inputs 2019-04-29 17:57:41 +02:00
Gruntfile.js Bower => NPM (#972) 2018-03-19 17:56:09 +00:00
LICENSE 2019 2019-01-01 14:20:55 +00:00
package.json Version bump to 2.21.1 2019-04-30 11:10:02 +02:00
README.md Updated docs links to best equivalents (#1097) 2019-01-16 16:03:33 +00:00
renovate.json Re-configured Renovate to ignore ember-in-viewport (#1173) 2019-04-22 12:45:44 +01:00
SECURITY.md Added SECURITY.md 2019-02-11 16:44:34 +00:00
testem.js Used ember-exam to split tests and run in parallel on Travis (#1112) 2019-03-11 18:16:01 +00:00
yarn.lock Update dependency @tryghost/mobiledoc-kit to v0.11.2-ghost.1 2019-04-29 16:47:08 +02:00

Ghost-Admin

Build Status Coverage Status

This is the home of Ember.js based admin client that ships with Ghost.

Do you want to set up a Ghost blog? Check the getting started guide

Do you want to modify or contribute to Ghost-Admin? Please read how to install from source and swing by our forum if you need any help 😄

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-2019 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.