Ghost/ghost/admin/lib/koenig-editor
Kevin Ansfield c35cdae491 Fixed callout card emoji picker clicks exiting card's edit mode
refs https://github.com/TryGhost/Team/issues/1206

Clicking inside the emoji picker was causing focus to be lost which then deselected the card causing an annoying jump between rendered/edit mode whilst working on the card's content. A secondary issue was the picker sticking around after you intentionally clicked elsewhere in the document to leave edit mode.

- before initiating the emoji-button instance, create a container that's appended at the bottom of the document body and that prevents any click events on elements inside the container from bubbling up and causing focus changes. Updated the emoji-button instance to render the picker inside that container
- added a call to hide the picker any time the card leaves edit mode
2021-11-19 12:16:08 +00:00
..
addon Fixed callout card emoji picker clicks exiting card's edit mode 2021-11-19 12:16:08 +00:00
app Removed unused NFT Card files 2021-11-18 14:29:23 +02:00
docs/specs Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
public/icons/koenig Replaced GIF icon 2021-11-19 10:32:43 +01:00
index.js Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
package.json Added an emoji picker for the callout card 2021-11-15 14:19:20 +01:00