Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编辑器可引入站内文章/单页面链接 #7098

Open
3 tasks done
AR-26710 opened this issue Dec 1, 2024 · 1 comment
Open
3 tasks done

编辑器可引入站内文章/单页面链接 #7098

AR-26710 opened this issue Dec 1, 2024 · 1 comment
Labels
area/core Issues or PRs related to the Halo Core area/ui Issues or PRs related to the Halo UI kind/feature Categorizes issue or PR as related to a new feature.

Comments

@AR-26710
Copy link

AR-26710 commented Dec 1, 2024

前置条件

  • 已经在 Issues 列表中搜索了相关问题。
  • 这是和 Halo 相关的特性,如果是非项目本身的问题,建议在 Discussions 提交。
  • 如果是插件和主题特性建议,请在对应的插件和主题仓库提交。

你当前使用的版本

2.20.10

描述一下此特性

之前写的文章中有引用站内文章的链接。

Image

但改变文章详情页访问规则后需要自行修改文章链接,需修改的文章量大或链接量大的情况下修改会过于繁琐。

Image

所以,能否在编辑器中添加一个引用站内文章/单页面链接的功能,该功能可跟随文章/单页面链接的改变而去自动更新所引用的站内文章/单页面链接

附加信息

No response

@AR-26710 AR-26710 changed the title 编辑器可引入站内文章/单页面链接,后续修改相应链接后会自动更新所引用的链接 编辑器可引入站内文章/单页面链接 Dec 1, 2024
@ruibaby
Copy link
Member

ruibaby commented Dec 4, 2024

感谢反馈,这看起来确实是一个思路,我的想法是为这样的链接添加类似于 data-post-name 的属性, 这样后面如果要处理文章内容的链接,那么就可以精准识别到这是一个文章。附件图片同理。

/kind feature
/area core
/area ui

@f2c-ci-robot f2c-ci-robot bot added kind/feature Categorizes issue or PR as related to a new feature. area/core Issues or PRs related to the Halo Core area/ui Issues or PRs related to the Halo UI labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core area/ui Issues or PRs related to the Halo UI kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants