-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
编辑粘贴图片BUG #5035
Comments
Hi @githubgeekrabbit ,感谢反馈问题! 我确认在未创建文章的状态下,在个人中心的文章模块中直接上传图片会出现以上错误。可能的原因是上传图片前自动创建文章的数据中没有包含文章标题。 @halo-dev/sig-halo-console /kind bug |
还有就是,用户模式下,文章不会自动保存,切出去再回来写的东西就全没了 |
Hi @githubgeekrabbit ,再次感谢反馈!不过这个问题和当前 Issue 没有直接关联,建议提交新的 Issue 跟踪。 |
/milestone 2.11.x |
halo/console/uc-src/modules/contents/posts/PostEditor.vue Lines 341 to 350 in 03ef4bb
需要在这里自动设置 title 和 slug,参考: halo/console/console-src/modules/contents/posts/PostEditor.vue Lines 148 to 154 in 03ef4bb
/good-first-issue |
/remove-good-first-issue |
#### What type of PR is this? /area console /kind bug /milestone 2.12.x #### What this PR does / why we need it: 修复在个人中心的文章编辑器中创建新文章时无法上传图片的问题 #### Which issue(s) this PR fixes: Fixes #5035 #### Special notes for your reviewer: 测试在 UC 新建文章,在未保存时是否能上传图片。 #### Does this PR introduce a user-facing change? ```release-note 修复个人中心创建新文章时无法上传图片的问题 ```
系统信息
在设置界面创建的文章就可以粘贴图片,而在用户界面创建的文章粘贴图片就报错
使用的哪种方式运行?
Docker
在线站点地址
https://demo.halo.run/
发生了什么?
在设置界面创建的文章就可以粘贴图片,而在用户界面创建的文章粘贴图片就报错
相关日志输出
附加信息
No response
The text was updated successfully, but these errors were encountered: