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

The heading block convert doc block to preserve symbols as much as possible #11126

Closed
3 tasks done
LoneFireBlossom opened this issue Apr 24, 2024 · 8 comments
Closed
3 tasks done
Assignees
Milestone

Comments

@LoneFireBlossom
Copy link

LoneFireBlossom commented Apr 24, 2024

标题块转换为文档块后,标题块里的某些英文符号得不到保留

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

如视频所示,可以看到很多英文符号在转换成文档块后得不到保留,只测试了一部分符号,没有全部测试

CleanShot.2024-04-24.at.20.35.31.mp4

Expected result

搜了一下没看到相应issue,是bug还是故意这么设置?
如果就是这么设置的话应该在帮助文档里写清楚吧,我看帮助文档里没写

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.11
- Operating System: macOS 13.6.6
- Browser (if used):

Log file

.

More information

No response

@LoneFireBlossom LoneFireBlossom changed the title 标题块转换为文档块后,标题块里的符号 标题块转换为文档块后,标题块里的英文符号得不到保留 Apr 24, 2024
@LoneFireBlossom LoneFireBlossom changed the title 标题块转换为文档块后,标题块里的英文符号得不到保留 标题块转换为文档块后,标题块里的某些英文符号得不到保留 Apr 24, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Apr 24, 2024

这个应该是 BUG

@88250 88250 self-assigned this Apr 24, 2024
@88250
Copy link
Member

88250 commented Apr 24, 2024

这是早期(还是用文档名作为文件名的时期)实现的时候为了避免不合法的文件名而故意剔除了这些符号,现在已经可以支持(除了不能支持 /),稍后进行改进,感谢反馈。

@88250 88250 added this to the 3.0.12 milestone Apr 24, 2024
@88250 88250 changed the title 标题块转换为文档块后,标题块里的某些英文符号得不到保留 The heading block convert doc block to preserve symbols as much as possible Apr 24, 2024
@LoneFireBlossom
Copy link
Author

LoneFireBlossom commented Apr 24, 2024

这是早期(还是用文档名作为文件名的时期)实现的时候为了避免不合法的文件名而故意剔除了这些符号,现在已经可以支持(除了不能支持 /),稍后进行改进,感谢反馈。

为何不支持/呢,哦文档标题不支持/

@88250 88250 closed this as completed Apr 24, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Apr 24, 2024

@88250 有曲线救国的方法实现支持斜杠作为标题吗?

@88250
Copy link
Member

88250 commented Apr 24, 2024

没有办法支持,实在要用的话估计只能用类似 / 的字符了,比如全角斜杆

@Temacc0531
Copy link

这个是不是需要在哪里告知一下用户,转换前提醒,或者帮助文档里面写一下,不然以为是bug了😂

@88250
Copy link
Member

88250 commented Apr 25, 2024

@Temacc0531

@Temacc0531
Copy link

@Temacc0531

没事了,转换的时候右上角有弹窗提示,妥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants