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

复制粘贴的文章,无法通过目录到文章对应位置 #6056

Closed
davidcrybao opened this issue Jun 11, 2024 · 5 comments · Fixed by #6059
Closed

复制粘贴的文章,无法通过目录到文章对应位置 #6056

davidcrybao opened this issue Jun 11, 2024 · 5 comments · Fixed by #6059
Labels
area/editor Issues or PRs related to the Editor area/ui Issues or PRs related to the Halo UI kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@davidcrybao
Copy link

davidcrybao commented Jun 11, 2024

系统信息

默认主题 ,Halo 2.16.3 Earth 1.8.0

使用的哪种方式运行?

Docker,

发生了什么?

文章内容是从外面复制过来,且编辑能正确显示H3-H4标题,
23b0460c-5ac7-45ca-abf8-1dfd01f48268

如果只有复制过来的内容,点击是无法跳转,
但当我收到添加一个标题,就可以正常跳转

文章无法通过目录到文章对应位置, 文章游览到下面,然后点击目录,自动跳转到最上面去了,不会跳到对应的位置
不知道是什么原因导致的,之前的版本没问题的,

相关日志输出

No response

附加信息

https://loserme.com/archives/dIizRrMY# 增加了H2标题,可以跳转

https://loserme.com/archives/M6a7frhR 复制过来的内容,标题是无法跳转

2024-06-11.13-15-17_batch.mp4
@ruibaby
Copy link
Member

ruibaby commented Jun 11, 2024

我没有在 2.16.3 的默认编辑器上复现,你的编辑器是默认编辑器吗?

image

@davidcrybao
Copy link
Author

我没有在 2.16.3 的默认编辑器上复现,你的编辑器是默认编辑器吗?

image

是的 使用的是默认编辑器

@davidcrybao
Copy link
Author

@ruibaby 你好,已经通过视频重新复现操作了 期待更新解决这个问题

@davidcrybao davidcrybao changed the title 文章无法通过目录到文章对应位置 复制粘贴的文章,无法通过目录到文章对应位置 Jun 11, 2024
@ruibaby
Copy link
Member

ruibaby commented Jun 11, 2024

ping @LIlGG

@LIlGG
Copy link
Member

LIlGG commented Jun 11, 2024

/kind bug
/area ui
/area editor

应该是未处理直接粘贴后的文章标题导致的。

手动修改任意标题或者增加任意标题即可解决此问题。

@f2c-ci-robot f2c-ci-robot bot added kind/bug Categorizes issue or PR as related to a bug. area/ui Issues or PRs related to the Halo UI area/editor Issues or PRs related to the Editor labels Jun 11, 2024
@ruibaby ruibaby added this to the 2.17.x milestone Jun 17, 2024
@f2c-ci-robot f2c-ci-robot bot closed this as completed in 10f3157 Jun 17, 2024
@ruibaby ruibaby modified the milestones: 2.17.x, 2.17.0 Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor Issues or PRs related to the Editor area/ui Issues or PRs related to the Halo UI kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants