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

升级到2.8后默认编辑器无法为图片增加超链接 #4406

Closed
ghfkui opened this issue Aug 11, 2023 · 6 comments · Fixed by halo-sigs/richtext-editor#49
Closed

升级到2.8后默认编辑器无法为图片增加超链接 #4406

ghfkui opened this issue Aug 11, 2023 · 6 comments · Fixed by halo-sigs/richtext-editor#49
Labels
area/editor Issues or PRs related to the Editor good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. kind/support Categorizes issue or PR as a support question.

Comments

@ghfkui
Copy link

ghfkui commented Aug 11, 2023

What is version of Halo has the issue?

2.8

What database are you using?

MySQL 8.x

What is your deployment method?

Docker

Your site address.

No response

What happened?

升级到2.8后默认编辑器无法为图片增加超链接。只有修改图片的链接,无法增加超链接。

Relevant log output

No response

Additional information

是否可以为图片增加-修改alt属性,方便seo优化

@JohnNiang
Copy link
Member

尝试点击一下工具栏的添加按钮:
image

/kind support

@f2c-ci-robot f2c-ci-robot bot added the kind/support Categorizes issue or PR as a support question. label Aug 11, 2023
@ruibaby
Copy link
Member

ruibaby commented Aug 11, 2023

尝试点击一下工具栏的添加按钮: image

/kind support

他说的是为图片添加跳转链接,如:

<a>
  <img />
</a>

可能是由于在 halo-sigs/richtext-editor#23 中的改动遗漏了这个功能。

/kind feature
/area editor
/good-first-issue

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Aug 11, 2023

@ruibaby:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

尝试点击一下工具栏的添加按钮: image

/kind support

他说的是为图片添加跳转链接,如:

<a>
 <img />
</a>

可能是由于在 halo-sigs/richtext-editor#23 中的改动遗漏了这个功能。

/kind feature
/area editor
/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot f2c-ci-robot bot added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. area/editor Issues or PRs related to the Editor labels Aug 11, 2023
@GodlessLiu
Copy link
Contributor

/assign

@ghfkui
Copy link
Author

ghfkui commented Aug 14, 2023

@ruibaby 就是增加图片跳转链接,另外是否可以增加修改图片alit属性的功能?

@ruibaby
Copy link
Member

ruibaby commented Aug 14, 2023

@ruibaby 就是增加图片跳转链接,另外是否可以增加修改图片alit属性的功能?

halo-sigs/richtext-editor#32 (comment)

@GodlessLiu GodlessLiu removed their assignment Aug 14, 2023
xinkeng0 added a commit to xinkeng0/halo that referenced this issue Aug 19, 2023
A function to debounce editor updates was added to the DefaultEditor.vue component. This change was necessary to prevent excessive event executions. Now, 'update:raw', 'update:content', and 'update' events will be emitted 250ms after the last update, reducing the number of redundant operations and increasing the editor's performance.
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 good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants