mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
eb865f841f
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 |
||
---|---|---|
.. | ||
koenig-caption-input.js | ||
koenig-card-code.js | ||
koenig-card-embed.js | ||
koenig-card-hr.js | ||
koenig-card-html.js | ||
koenig-card-image.js | ||
koenig-card-markdown.js | ||
koenig-card.js | ||
koenig-editor.js | ||
koenig-link-input.js | ||
koenig-link-toolbar.js | ||
koenig-menu-content.js | ||
koenig-plus-menu.js | ||
koenig-slash-menu.js | ||
koenig-toolbar.js |