Ghost/ghost/admin/lib/koenig-editor/addon/components
Kevin Ansfield eb865f841f 🐛 Koenig - Fixed clicking certain icons in /-menu not creating cards
refs https://github.com/TryGhost/Ghost/issues/9724
- the click event from clicking on the /-menu items continued propagating after the card was initialised which meant it was picked up by the card as a "click off the card" so certain cards such as the Markdown/HTML cards would then remove themselves as if they were deselected with empty content
- changed the icon click handler to use the DOM `onclick` syntax so that the click can be captured immediately rather than waiting for it to bubble up to Ember's global event handler
- updated the /-menu `itemClicked` action to use the now-accessible MouseEvent to stop it propagating any further and triggering unwanted card behaviour
2018-07-17 17:22:28 +01:00
..
koenig-caption-input.js 🐛 Koenig - Fix Firefox adding "ArrowUp" or similar to caption fields 2018-06-21 17:57:45 +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 - Fixed caption/embed inputs in Firefox & Safari 2018-06-21 15:47:50 +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 - Added drag-n-drop upload/replace support in image card 2018-06-20 12:34:30 +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 - Fixed "Retry" link in embed card error message 2018-07-17 17:02:36 +01:00
koenig-editor.js 🐛 Koenig - Fixed caption/embed inputs in Firefox & Safari 2018-06-21 15:47:50 +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 - Improved closing of (+) menu when cursor moves 2018-06-20 15:45:43 +01:00
koenig-slash-menu.js 🐛 Koenig - Fixed clicking certain icons in /-menu not creating cards 2018-07-17 17:22:28 +01:00
koenig-toolbar.js Koenig - Fix misaligned toolbar arrow in Night Shift 2018-06-15 10:35:31 +01:00