diff --git a/apps/admin-x-settings/src/admin-x-ds/global/form/HtmlEditor.tsx b/apps/admin-x-settings/src/admin-x-ds/global/form/HtmlEditor.tsx index ff4614b4d2..1f9517b936 100644 --- a/apps/admin-x-settings/src/admin-x-ds/global/form/HtmlEditor.tsx +++ b/apps/admin-x-settings/src/admin-x-ds/global/form/HtmlEditor.tsx @@ -9,7 +9,8 @@ export interface HtmlEditorProps { onChange?: (html: string) => void onBlur?: () => void placeholder?: string - nodes?: 'DEFAULT_NODES' | 'BASIC_NODES' | 'MINIMAL_NODES'; + nodes?: 'DEFAULT_NODES' | 'BASIC_NODES' | 'MINIMAL_NODES' + emojiPicker?: boolean; } declare global { @@ -57,7 +58,8 @@ const KoenigWrapper: React.FC = ({ onChange, onBlur, placeholder, - nodes + nodes, + emojiPicker = true }) => { const onError = useCallback((error: unknown) => { try { @@ -139,6 +141,7 @@ const KoenigWrapper: React.FC = ({ onFocus={handleFocus} > + {emojiPicker ? : null} );