diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.hbs b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.hbs index 1d94a135d7..59ec8f3cfb 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.hbs +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.hbs @@ -33,6 +33,25 @@ @onBlur={{action (mut this.isFocused) false}} @didCreateEditor={{action "registerEditor"}} /> + +
+
Emoji
+
+
+ +
+
+
+
{{else}} diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js index f2849d542e..8836e74556 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-callout.js @@ -107,6 +107,11 @@ export default class KoenigCardCalloutComponent extends Component { run.scheduleOnce('afterRender', this, this._placeCursorAtEnd); } + @action + toggleEmoji() { + this._updatePayloadAttr('calloutEmoji', this.args.payload.calloutEmoji ? '' : '💡'); + } + _enter(modifier) { if (this.args.isEditing && (modifier === 'meta' || (modifier === 'crtl' && Browser.isWin()))) { this.args.editCard();