Ghost/ghost/admin/lib/gh-koenig/app/components
Kevin Ansfield 756b6627a9 Editor refactors (#679)
no issue

* split key commands and text expansions into separate files for easier file searches

* basic formatting, added a few comments

* move editor title input into addon
- the editor and title are now tightly integrated so that it's possible to use up/down cursor navigation so it makes more sense to keep them together
- start of a deeper component restructure so that we don't need to leak properties/actions to parent components

* first pass at refactor of gh-koenig and koenig-title-input
- remove need for editor reference to be held outside of the `gh-koenig` component by yielding it from the component so that the integrated title element can sit inside the container's scope
- refactor `gh-koenig` to more closely match the default ember mobiledoc addon
  - fixes runloop issues by starting/ending a manual runloop
- refactored the mutation observer and event handlers in `koenig-title-input` so that we're not doing unecessary work on every render/key press
- rename CSS classes to be more specific (these may still need more separation between `.gh` and `.kg` later)
  - `.editor-holder` to `.gh-koenig-container`
  - `.surface` to `.gh-koenig-surface`

* fix tests and start testing refactor

* move gh-koenig integration tests into addon, remove empty test files

* first-pass at component template cleanup

* first pass at koenig-toolbar-button refactor
2017-05-08 10:44:02 +01:00
..
card-hr.js 📦 Card-Rename (#603) 2017-03-24 10:03:52 +00:00
card-html.js 📦 Card-Rename (#603) 2017-03-24 10:03:52 +00:00
card-image.js 📦 Card-Rename (#603) 2017-03-24 10:03:52 +00:00
card-markdown.js 📦 Card-Rename (#603) 2017-03-24 10:03:52 +00:00
gh-koenig.js renamed to koenig 2017-03-02 09:56:52 +00:00
koenig-card.js refactor and rename ghost-editor to koenig, removed tests from koenig to integrate into ghost-admin 2017-03-02 09:56:52 +00:00
koenig-menu-item.js turn on linting for the editor, fix errors and match Ghost-Admin styles 2017-03-02 16:51:57 +00:00
koenig-plus-menu.js 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580) 2017-03-14 11:59:34 +00:00
koenig-slash-menu.js 👯 ♥️ ♣️ ♦️ ♠️ New editor card menu (#580) 2017-03-14 11:59:34 +00:00
koenig-title-input.js Editor refactors (#679) 2017-05-08 10:44:02 +01:00
koenig-toolbar-blockitem.js turn on linting for the editor, fix errors and match Ghost-Admin styles 2017-03-02 16:51:57 +00:00
koenig-toolbar-button.js refactor and rename ghost-editor to koenig, removed tests from koenig to integrate into ghost-admin 2017-03-02 09:56:52 +00:00
koenig-toolbar-newitem.js turn on linting for the editor, fix errors and match Ghost-Admin styles 2017-03-02 16:51:57 +00:00
koenig-toolbar.js refactor and rename ghost-editor to koenig, removed tests from koenig to integrate into ghost-admin 2017-03-02 09:56:52 +00:00