Ghost/ghost/admin/lib/koenig-editor/addon/components
Kevin Ansfield 1eaf85e5aa 🎨 Koenig - Keep posts free of blank cards
refs https://github.com/TryGhost/Ghost/issues/9623
- add new `deleteIfEmpty` option when defining cards
- add `.cleanup()` method to `{{koenig-editor}}` that will remove any blank cards
- pass `{{koenig-editor}}` instance up to the editor controller when it is initialised
- call `.cleanup()` in the editor controller when performing full saves, when leaving the editor with a draft, and when opening the editor with a draft
2018-06-14 16:55:02 +01:00
..
koenig-caption-input.js Koenig - Extract card caption input into component 2018-06-12 18:10:23 +01:00
koenig-card-code.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card-embed.js 🐛 Koenig - Fix embedding of multiple FB Videos 2018-06-13 17:13:33 +01:00
koenig-card-hr.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card-html.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card-image.js Koenig - Extract card caption input into component 2018-06-12 18:10:23 +01:00
koenig-card-markdown.js Koenig - Fix card tests (missing action placeholders) 2018-05-23 11:59:20 +01:00
koenig-card.js Koenig - Deselect cards when a click happens outside of the editor canvas 2018-06-14 12:21:22 +01:00
koenig-editor.js 🎨 Koenig - Keep posts free of blank cards 2018-06-14 16:55:02 +01:00
koenig-link-input.js Koenig - Switch this.get for ES5 getters 2018-05-01 17:13:53 +01:00
koenig-link-toolbar.js Koenig - Switch this.get for ES5 getters 2018-05-01 17:13:53 +01:00
koenig-menu-content.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-plus-menu.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-slash-menu.js Koenig - Embed card 2018-06-12 14:07:50 +01:00
koenig-toolbar.js Koenig - Fixed "set on destroyed object" error 2018-05-28 16:54:16 +01:00