0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Enabled emoji picker in editor (#18880)

closes TryGhost/Product#4107
- emoji picker is now available for inline emoji insertion
- open the menu with typing a : (colon), e.g. 
This commit is contained in:
Steve Larson 2023-11-06 10:07:55 -06:00 committed by GitHub
parent 5dc48758cb
commit ae53464cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 7 deletions

View file

@ -51,10 +51,6 @@ const features = [{
title: 'List-Unsubscribe header',
description: 'Set the List-Unsubscribe header in emails',
flag: 'listUnsubscribeHeader'
},{
title: 'Editor emoji picker',
description: <>Trigger an emoji picker when typing <code>{':{search}'}</code> in the editor</>,
flag: 'editorEmojiPicker'
},{
title: 'AdminX Offers',
description: 'Enables the new offers UI in AdminX settings',

View file

@ -20,7 +20,8 @@ const GA_FEATURES = [
'outboundLinkTagging',
'announcementBar',
'signupForm',
'recommendations'
'recommendations',
'editorEmojiPicker'
];
// NOTE: this allowlist is meant to be used to filter out any unexpected
@ -43,7 +44,6 @@ const ALPHA_FEATURES = [
'importMemberTier',
'lexicalIndicators',
'listUnsubscribeHeader',
'editorEmojiPicker',
'adminXOffers'
];

View file

@ -758,7 +758,7 @@ exports[`Settings API Edit Can edit a setting 2: [headers] 1`] = `
Object {
"access-control-allow-origin": "http://127.0.0.1:2369",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "4280",
"content-length": "4307",
"content-type": "application/json; charset=utf-8",
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,