mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 09:56:13 +08:00
Revert "[autofix.ci] apply automated fixes"
This reverts commit 01a05289e9.
This commit is contained in:
@ -5,7 +5,11 @@ import {
|
||||
shift,
|
||||
useFloating,
|
||||
} from '@floating-ui/react'
|
||||
|
||||
import {
|
||||
RiEditLine,
|
||||
RiExternalLinkLine,
|
||||
RiLinkUnlinkM,
|
||||
} from '@remixicon/react'
|
||||
import { useClickAway } from 'ahooks'
|
||||
import { escape } from 'es-toolkit/string'
|
||||
import {
|
||||
@ -102,7 +106,7 @@ const LinkEditorComponent = ({
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
<span className="i-ri-external-link-line mr-1 h-3 w-3" />
|
||||
<RiExternalLinkLine className="mr-1 h-3 w-3" />
|
||||
<div className="mr-1">
|
||||
{t('nodes.note.editor.openLink', { ns: 'workflow' })}
|
||||
</div>
|
||||
@ -121,14 +125,14 @@ const LinkEditorComponent = ({
|
||||
setLinkOperatorShow(false)
|
||||
}}
|
||||
>
|
||||
<span className="i-ri-edit-line mr-1 h-3 w-3" />
|
||||
<RiEditLine className="mr-1 h-3 w-3" />
|
||||
{t('operation.edit', { ns: 'common' })}
|
||||
</div>
|
||||
<div
|
||||
className="flex h-6 cursor-pointer items-center rounded-md px-2 hover:bg-state-base-hover"
|
||||
onClick={handleUnlink}
|
||||
>
|
||||
<span className="i-ri-link-unlink-m mr-1 h-3 w-3" />
|
||||
<RiLinkUnlinkM className="mr-1 h-3 w-3" />
|
||||
{t('nodes.note.editor.unlink', { ns: 'workflow' })}
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user