mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 16:38:22 +03:00
1dad18a06c
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 |
||
---|---|---|
.. | ||
.github | ||
app | ||
config | ||
lib | ||
mirage | ||
public/assets | ||
tests | ||
.csscomb.json | ||
.editorconfig | ||
.ember-cli | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.travis.yml | ||
.watchmanconfig | ||
ember-cli-build.js | ||
Gruntfile.js | ||
LICENSE | ||
package.json | ||
README.md | ||
renovate.json | ||
SECURITY.md | ||
testem.js | ||
yarn.lock |
Ghost-Admin
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.