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

高亮文字效果不好 #4653

Closed
hunteris666 opened this issue Sep 23, 2023 · 3 comments · Fixed by halo-sigs/richtext-editor#56
Closed

高亮文字效果不好 #4653

hunteris666 opened this issue Sep 23, 2023 · 3 comments · Fixed by halo-sigs/richtext-editor#56
Assignees
Labels
area/editor Issues or PRs related to the Editor kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@hunteris666
Copy link

是什么版本出现了此问题?

Halo 2.9.1

使用的什么数据库?

MySQL 8.x

使用的哪种方式运行?

Docker

在线站点地址

No response

发生了什么?

如题,高亮效果如图
image
渲染效果不好,建议修

相关日志输出

No response

附加信息

No response

@ruibaby
Copy link
Member

ruibaby commented Sep 24, 2023

/area editor
/kind improvement

@f2c-ci-robot f2c-ci-robot bot added area/editor Issues or PRs related to the Editor kind/improvement Categorizes issue or PR as related to a improvement. labels Sep 24, 2023
@JohnNiang
Copy link
Member

/assign @LIlGG

f2c-ci-robot bot pushed a commit to halo-sigs/richtext-editor that referenced this issue Sep 26, 2023
#### What type of PR is this?

/kind bug

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

为高亮 html 设置 `display: inline-block` 样式,解决由于设置了文本大小之后,再设置个高亮所导致高亮显示不完全的问题。

#### How to test it?

1. 为文本设置大小
2. 为文本设置高亮
3. 查看高亮背景是否展示完全

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

Fixes halo-dev/halo#4653

#### Does this PR introduce a user-facing change?
```release-note
解决文本高亮显示不完全的问题
```
@LIlGG
Copy link
Member

LIlGG commented Sep 26, 2023

/close

halo-sigs/richtext-editor#56

@LIlGG LIlGG closed this as completed Sep 26, 2023
@JohnNiang JohnNiang added this to the 2.10.0 milestone Sep 26, 2023
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/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants