Ghost/ghost/admin/lib/koenig-editor/addon
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
..
components 🎨 Koenig - Keep posts free of blank cards 2018-06-14 16:55:02 +01:00
options 🎨 Koenig - Keep posts free of blank cards 2018-06-14 16:55:02 +01:00
templates/components Koenig - Deselect cards when a click happens outside of the editor canvas 2018-06-14 12:21:22 +01:00
utils Koenig - Embed card 2018-06-12 14:07:50 +01:00