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

粘贴复制powerpoint表格出现把表格转化成图片 #3348

Closed
lixuejun725 opened this issue Feb 20, 2023 · 2 comments · Fixed by halo-dev/console#873
Closed

粘贴复制powerpoint表格出现把表格转化成图片 #3348

lixuejun725 opened this issue Feb 20, 2023 · 2 comments · Fixed by halo-dev/console#873
Assignees
Labels
area/console Issues or PRs related to the Halo Console kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@lixuejun725
Copy link

What is version of Halo has the issue?

2.2.1

What database are you using?

MySQL 5.7

What is your deployment method?

Docker

Your site address.

No response

What happened?

Mac 环境:
当前halo这边写文章,我从word的PowerPoint复制表格的文字报错
截屏2023-02-20 18 02 42
如果我复制表格的话,会把表格复制出来,但同时表格还会转化成图片,上传到附件
截屏2023-02-20 18 03 29

windows环境:
windows复制powerpoint表格问题,复制文字也会把文字转成图片复制进去
截屏2023-02-20 18 04 18

Relevant log output

No response

Additional information

No response

@ruibaby
Copy link
Member

ruibaby commented Feb 20, 2023

/area console
/milestone 2.3.x
/kind improvement

@f2c-ci-robot f2c-ci-robot bot added the area/console Issues or PRs related to the Halo Console label Feb 20, 2023
@f2c-ci-robot f2c-ci-robot bot added this to the 2.3.x milestone Feb 20, 2023
@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Feb 20, 2023
@ruibaby
Copy link
Member

ruibaby commented Feb 21, 2023

/assign

f2c-ci-robot bot pushed a commit to halo-dev/console that referenced this issue Feb 24, 2023
#### What type of PR is this?

/kind improvement

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

禁止在编辑器粘贴 Excel 表格时,将表格转为图片的形式上传。

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

Fixes halo-dev/halo#3348

#### Screenshots:

before:

<img width="818" alt="image" src="https://user-images.githubusercontent.com/21301288/220243681-eb07502a-0fc5-4e69-9cd3-61c3b89cb542.png">

after:

<img width="815" alt="image" src="https://user-images.githubusercontent.com/21301288/220243630-ca7c2700-ff61-4893-a857-94860e4a899b.png">


#### Special notes for your reviewer:

测试方式:

1. 使用 Excel 或者 macOS 下的 Numbers 创建一个表格。
2. 复制整个表格或者某几个单元格,并粘贴到 Halo 的编辑器。
3. 观察是否有将内容转为图片并上传。

#### Does this PR introduce a user-facing change?

```release-note
Console 端禁止在编辑器粘贴 Excel 表格以图片的形式上传。
```
@ruibaby ruibaby modified the milestones: 2.3.x, 2.3.0 Feb 24, 2023
JohnNiang pushed a commit to JohnNiang/halo that referenced this issue Mar 2, 2023
…dev/console#873)

#### What type of PR is this?

/kind improvement

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

禁止在编辑器粘贴 Excel 表格时,将表格转为图片的形式上传。

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

Fixes halo-dev#3348

#### Screenshots:

before:

<img width="818" alt="image" src="https://user-images.githubusercontent.com/21301288/220243681-eb07502a-0fc5-4e69-9cd3-61c3b89cb542.png">

after:

<img width="815" alt="image" src="https://user-images.githubusercontent.com/21301288/220243630-ca7c2700-ff61-4893-a857-94860e4a899b.png">


#### Special notes for your reviewer:

测试方式:

1. 使用 Excel 或者 macOS 下的 Numbers 创建一个表格。
2. 复制整个表格或者某几个单元格,并粘贴到 Halo 的编辑器。
3. 观察是否有将内容转为图片并上传。

#### Does this PR introduce a user-facing change?

```release-note
Console 端禁止在编辑器粘贴 Excel 表格以图片的形式上传。
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/console Issues or PRs related to the Halo Console kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants