Ghost/ghost/admin/app/styles/spirit
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
..
_animations.css Updated animation of copy buttons in integration 2019-03-08 09:47:59 +01:00
_aspect-ratios.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_background-position.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_background-size.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_border-colors.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_border-radius.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_border-style.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_border-widths.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_borders.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_box-shadow.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_box-sizing.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_clears.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_code.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_colors-dark.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_colors.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_coordinates.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_custom-styles.css Fix tumbleweed Y position on 404 2019-03-25 09:59:28 +01:00
_debug-children.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_debug-grid.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_debug.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_display.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_dropdown.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_flexbox.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_floats.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_font-family.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_font-style.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_font-weight.css Added language selection to code cards (#1180) 2019-04-30 16:46:29 +02:00
_forms.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_gradients.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_heights.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_hovers.css Added hover to member cells in member list 2019-04-16 14:27:55 +02:00
_icons.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_images.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_koenig-dark.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_koenig.css Added language selection to code cards (#1180) 2019-04-30 16:46:29 +02:00
_letter-spacing.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_line-height.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_links.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_lists.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_max-widths.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_media-queries.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_min-heights.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_min-widths.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_module-template.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_negative-margins.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_nested.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_normalize.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_nudge.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_opacity.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_outlines.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_overflow.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_pointer-events.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_position.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_rotations.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_skins.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_spacing.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_tables.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_text-align.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_text-block-spacings.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_text-decoration.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_text-transform.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_type-scale.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_typography.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_utilities.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_vertical-align.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_visibility.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_white-space.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_widths.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_word-break.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
_z-index.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
spirit-dark.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
spirit.css Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00