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

默认编辑器的表格自己刷新格式 #5767

Closed
simeis147 opened this issue Apr 22, 2024 · 3 comments · Fixed by #5803
Closed

默认编辑器的表格自己刷新格式 #5767

simeis147 opened this issue Apr 22, 2024 · 3 comments · Fixed by #5803
Assignees
Labels
area/editor Issues or PRs related to the Editor kind/bug Categorizes issue or PR as related to a bug.

Comments

@simeis147
Copy link

System information

2.13.1

What is the project operation method?

Docker Compose

What happened?

默认编辑器的表格在我调整后,会在发布后如果再次进入改文章进行修改会自动修改我的表格格式

128_1713804398.mp4

Relevant log output

No response

Additional information

No response

@JohnNiang
Copy link
Member

/ping @LIlGG
/area editor
/kind bug

@f2c-ci-robot f2c-ci-robot bot added area/editor Issues or PRs related to the Editor kind/bug Categorizes issue or PR as related to a bug. labels Apr 23, 2024
@simeis147
Copy link
Author

测试了一下 发现是合并单元格才会有这种BUG 如果正常的表格是没有的

@LIlGG
Copy link
Member

LIlGG commented Apr 25, 2024

测试了一下 发现是合并单元格才会有这种BUG 如果正常的表格是没有的

合并单元格 之后确实会存在这种问题。

/assign

f2c-ci-robot bot pushed a commit that referenced this issue May 16, 2024
…ble (#5803)

#### What type of PR is this?

/kind bug
/area editor
/milestone 2.16.x

#### What this PR does / why we need it:

默认编辑器中的表格**首行被合并单元格**之后,将会出现当前表在刷新之后宽度被重置为默认。此 PR 改正了计算宽度,使其首次刷新时,也能返回正确的数组。

#### How to test it?

1. 将表格首行使用合并单元格之后,改变表格宽度。
2. 刷新表格,查看表格宽度是否不再变为默认宽度。

#### Which issue(s) this PR fixes:

Fixes #5767 

#### Does this PR introduce a user-facing change?
```release-note
解决默认编辑器中的表格首行合并单元格后会出现宽度重置的问题
```
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 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