✨(AI) add emojify action to ai transform
The emojify action add emojis to the important parts of the text.
This commit is contained in:
@@ -7,7 +7,8 @@ export type AITransformActions =
|
||||
| 'prompt'
|
||||
| 'rephrase'
|
||||
| 'summarize'
|
||||
| 'beautify';
|
||||
| 'beautify'
|
||||
| 'emojify';
|
||||
|
||||
export type DocAITransform = {
|
||||
docId: string;
|
||||
|
||||
@@ -176,6 +176,17 @@ export function AIGroupButton() {
|
||||
>
|
||||
{t('Beautify')}
|
||||
</AIMenuItemTransform>
|
||||
<AIMenuItemTransform
|
||||
action="emojify"
|
||||
docId={currentDoc.id}
|
||||
icon={
|
||||
<Text $isMaterialIcon $size="s">
|
||||
emoji_emotions
|
||||
</Text>
|
||||
}
|
||||
>
|
||||
{t('Emojify')}
|
||||
</AIMenuItemTransform>
|
||||
</>
|
||||
)}
|
||||
{canAITranslate && (
|
||||
|
||||
Reference in New Issue
Block a user