Skip to content

无法在表格中的引用前后加入空格 #7539

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

Closed
3 tasks done
nekrondev opened this issue Mar 1, 2023 · 0 comments
Closed
3 tasks done

无法在表格中的引用前后加入空格 #7539

nekrondev opened this issue Mar 1, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@nekrondev
Copy link
Contributor

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

该问题是否能够在默认主题(daylight/midnight)下重现? 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

Inserting a refblock link by using the "((" -> select your reference -> press enter, will insert the reference but will remove previous spaces between the former word. Additionally spaces put after the reference link will be removed.
This results into "previous wordRefBlockLinknext word" instead of "previous word RefBlockLink next word" where you would see the space as separator between "word RefBlockLink" and "RefBlockLink next".

In contrast if you edit the same text inside a paragraph the editing works as expected (you can add as much spaces between words and adding a refblock link will not modify the spacing.

期待的结果 Expected result

Editing text containing a refblock link inside a table cell should work equally to editing a paragraph outside the table.

截屏或者录屏演示 Screenshot or screen recording presentation

screenshots

版本环境 Version environment

- Version: 2.7.7
- Operating System: Windows 10
- Browser (if used): none

日志文件 Log file

not needed

更多信息 More information

No response

@88250 88250 self-assigned this Mar 2, 2023
@88250 88250 changed the title ui(table cell): Inserted refblock links are unable to add additional space before and after refblock link 无法在表格中的引用前后加入空格 Mar 2, 2023
@88250 88250 added the Bug label Mar 2, 2023
@88250 88250 added this to the 2.7.8 milestone Mar 2, 2023
@88250 88250 closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants