Ghost/ghost/admin/lib/koenig-editor/addon/options
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
..
atoms.js Koenig - Added SHIFT+ENTER line break key command 2018-01-30 10:58:28 +00:00
cards.js Koenig - HTML card template 2018-02-03 19:20:50 +01:00
key-commands.js Koenig - Added SHIFT+ENTER line break key command 2018-01-30 10:58:28 +00:00
text-expansions.js Koenig - Remove markdown/embed card if it's empty when leaving edit mode 2018-03-15 17:54:15 +00:00