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