Ghost/ghost/admin/lib
Kevin Ansfield 25bc402f72 Koenig - Remove markdown/embed card if it's empty when leaving edit mode
refs https://github.com/TryGhost/Ghost/issues/9505
- add `deleteCard` action to `{{koenig-editor}}` component and pass it through to the component cards
  - required modifying the `_deleteCard` behaviour so that it doesn't always try to move the cursor
- use `onLeaveEdit` action from `{{koenig-card}}` in the markdown and html cards to check if their payload is empty and remove the card when exiting edit mode
- fixed `onLeaveEdit` action firing when card first rendered
2018-03-15 17:54:15 +00:00
..
asset-delivery Koenig - Initial Spirit styles integration 2018-02-20 15:05:19 +00:00
koenig-editor Koenig - Remove markdown/embed card if it's empty when leaving edit mode 2018-03-15 17:54:15 +00:00