Ghost/ghost/admin/app/components
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
..
gh-token-input Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
power-select add power-select/trigger template override 2017-04-10 10:53:27 +01:00
aspect-ratio-box.js Added ability to upload integration icons (#1058) 2018-10-23 10:29:49 +01:00
gh-activating-list-item.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-alert.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-alerts.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-app.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-basic-dropdown.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-blog-url.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-cm-editor.js Added language selection to code cards (#1180) 2019-04-30 16:46:29 +02:00
gh-content-cover.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-date-time-picker.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-download-count.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-dropdown-button.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-dropdown.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-editor-post-status.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-editor.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-error-message.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-feature-flag.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-file-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-file-upload.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-file-uploader.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-form-group.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
gh-fullscreen-modal.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-image-uploader-with-preview.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-image-uploader.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-infinity-loader.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
gh-koenig-editor.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
gh-loading-spinner.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-main.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-markdown-editor.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-member-avatar.js Refined members list and detail design 2019-02-23 16:31:18 +07:00
gh-mobile-nav-bar.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
gh-nav-menu.js Fixed "view site" link not getting active class immediately after login 2019-03-21 18:08:57 +00:00
gh-navitem-url-input.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
gh-navitem.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-notification.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-notifications.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-post-settings-menu.js Fixed error when opening meta/facebook/twitter settings with a new post 2019-03-12 12:15:02 +00:00
gh-posts-list-item.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-profile-image.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-progress-bar.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-authors-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-tags-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-template-select.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-publishmenu-draft.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-publishmenu-published.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-publishmenu-scheduled.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-publishmenu.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-scheduled-post-countdown.js Refactor new->edit transition to avoid editor re-renders (#949) 2018-01-17 13:27:37 +00:00
gh-scroll-trigger.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-search-input-trigger.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-search-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-simplemde.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-site-iframe.js Added reset-to-homepage behaviour when clicking "view site" link 2019-03-21 17:55:58 +00:00
gh-skip-link.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
gh-subscribers-table.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-tag-settings-form.js Fixed button and title cases for Tags screen 2019-03-25 09:37:44 +01:00
gh-tag.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-tags-management-container.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-task-button.js Fixed "Send invitation" button needing to be clicked twice 2019-03-18 17:56:32 +00:00
gh-text-input.js Remove ember-one-way-controls (#959) 2018-02-28 11:44:03 +00:00
gh-textarea.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-theme-error-li.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-theme-table.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-timezone-select.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-token-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-tour-item.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-trim-focus-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-unsplash-photo.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-unsplash.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-uploader.js 🐛 Fixed confusing messaging around .yml extension being allowed for routes.yaml uploads (#1140) 2019-04-03 19:54:05 +01:00
gh-url-preview.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-user-active.js Add {{background-image-style}} helper 2018-05-14 13:04:53 +01:00
gh-user-invited.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-user-list-item.js Upgrade to Ember 2.15.0 2017-09-02 16:18:10 -04:00
gh-validation-status-container.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-view-title.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
infinity-loader.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
modal-base.js Remove ember-invoke-action (#978) 2018-03-20 14:57:59 +00:00
modal-delete-all.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-integration.js Added ability to delete integrations (#1057) 2018-10-19 17:37:27 +01:00
modal-delete-member.js Implemented first pass of member details screen 2019-02-22 18:32:09 +07:00
modal-delete-post.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-subscriber.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-tag.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-theme.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-webhook.js Added edit webhook modal (#1056) 2018-10-19 17:34:53 +01:00
modal-import-subscribers.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-invite-new-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-leave-editor.js 🐛 Fixed sticky "Unsaved changes" modal when leaving editor 2019-01-21 09:18:51 +00:00
modal-leave-settings.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
modal-markdown-help.js Flatten nested components (#854) 2017-09-11 14:41:17 +07:00
modal-new-integration.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
modal-new-subscriber.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-re-authenticate.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-suspend-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-theme-warnings.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
modal-transfer-owner.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-unsuspend-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-upload-image.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-upload-theme.js 🐛 Fixed missing errors and confusing button text in theme upload modal 2019-04-15 22:43:29 +01:00
modal-webhook-form.js Fixed linting 2018-11-13 09:56:59 +00:00
power-select-vertical-collection-options.js 🚀 supercharge tags performance 2017-07-07 17:53:08 +01:00