This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: editor supports selecting attachments to be inserted as links (#…
…863) #### What type of PR is this? /kind feature #### What this PR does / why we need it: 编辑器支持选择附件作为链接插入。目前在附件库选择附件时,如果非图片、视频、音频,那么就会作为链接插入。 #### Which issue(s) this PR fixes: Fixes halo-dev/halo#2673 #### Screenshots: ![2023-02-17 21 02 43](https://user-images.githubusercontent.com/21301288/219660123-b910a4d5-32e6-4606-813e-c081720556d5.gif) #### Special notes for your reviewer: 测试方式: 1. 测试从附件库选择非图片、视频、音频的时候是否会作为链接插入即可。 #### Does this PR introduce a user-facing change? ```release-note Console 端默认编辑器支持以链接的形式插入非图片、音视频的附件。 ```
- Loading branch information
f7c0fd5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui – ./
ui-halo-dev.vercel.app
ui-git-main-halo-dev.vercel.app
halo-admin-ui.vercel.app