Ghost/ghost/admin/lib/koenig-editor/addon/templates/components
Kevin Ansfield 4be392ef16 Koenig - Link creation/editing via formatting toolbar
refs https://github.com/TryGhost/Ghost/issues/9505
- wire up the link button in the toolbar to set a `linkRange` property on `{{koenig-editor}}`
- add `{{koenig-link-input}}` that is shown when `{{koenig-editor}}` has a `linkRange` set
    - <kbd>Escape</kbd> will cancel the link input
    - clicking outside the input will cancel the link input
    - previously selected text will be re-selected on cancel
    - if an existing link was selected (or partially selected) then pre-fill the link input with the `href`
    - `X` is shown when there's a href value and clicking will clear the input
    - <kbd>Enter</kbd> *with* a href value will remove all links from text that is touched by the selection and create a new link across only the selected text
    - <kbd>Enter</kbd> *with no* href value will remove all links touched by the selection
- fixed toolbar tick positioning that was 8px off after change to Spirit classes
2018-04-06 17:49:16 +01:00
..
koenig-card-hr.hbs Koenig - Wrap HR card in {{koenig-card}} component 2018-03-14 11:44:09 +00:00
koenig-card-html.hbs Koenig - Switch card context menu to Spirit classes 2018-04-03 18:34:01 +01:00
koenig-card-image.hbs Koenig - Image card 2018-02-22 20:41:40 +00:00
koenig-card-markdown.hbs Koenig - Switch card context menu to Spirit classes 2018-04-03 18:34:01 +01:00
koenig-card.hbs Koenig - Switch card context menu to Spirit classes 2018-04-03 18:34:01 +01:00
koenig-editor.hbs Koenig - Link creation/editing via formatting toolbar 2018-04-06 17:49:16 +01:00
koenig-link-input.hbs Koenig - Link creation/editing via formatting toolbar 2018-04-06 17:49:16 +01:00
koenig-plus-menu.hbs Swap out ember-inline-svg for ember-svg-jar (#970) 2018-03-19 09:57:31 +00:00
koenig-slash-menu.hbs Swap out ember-inline-svg for ember-svg-jar (#970) 2018-03-19 09:57:31 +00:00
koenig-toolbar.hbs Koenig - Link creation/editing via formatting toolbar 2018-04-06 17:49:16 +01:00