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

默认编辑器嵌入网页块宽度设置不准确 #4868

Closed
ruibaby opened this issue Nov 17, 2023 · 0 comments · Fixed by halo-sigs/richtext-editor#71 or #4924
Closed

默认编辑器嵌入网页块宽度设置不准确 #4868

ruibaby opened this issue Nov 17, 2023 · 0 comments · Fixed by halo-sigs/richtext-editor#71 or #4924
Labels
area/console Issues or PRs related to the Halo Console area/editor Issues or PRs related to the Editor kind/bug Categorizes issue or PR as related to a bug.

Comments

@ruibaby
Copy link
Member

ruibaby commented Nov 17, 2023

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

2.10.2

使用的什么数据库?

PostgreSQL

使用的哪种方式运行?

Docker Compose

在线站点地址

https://ryanc.cc

发生了什么?

如图:

图片 图片

/kind bug
/area console
/area editor

相关日志输出

No response

附加信息

No response

@f2c-ci-robot f2c-ci-robot bot added kind/bug Categorizes issue or PR as related to a bug. area/console Issues or PRs related to the Halo Console area/editor Issues or PRs related to the Editor labels Nov 17, 2023
f2c-ci-robot bot pushed a commit to halo-sigs/richtext-editor that referenced this issue Nov 27, 2023
…he width (#71)

#### What type of PR is this?

/kind bug

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

将行内块元素(iframe, video, image, audio)默认宽度设置为 100%。用以解决设置为 100% 是宽度不准确的问题。

#### How to test it?

新增一个行内块元素,点击设置其大小为`桌面端大小`,查看是否占满编辑器宽度。

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

Fixes halo-dev/halo#4868

#### Does this PR introduce a user-facing change?
```release-note
解决行内块元素宽度设置不准确的问题
```
f2c-ci-robot bot pushed a commit that referenced this issue Nov 27, 2023
#### What type of PR is this?

/area console
/area editor
/milestone 2.11.0
/kind improvement

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

升级编辑器依赖,并将其全局注册,此 PR 合并之后,插件如果需要扩展编辑器,则不必引入其中依赖,可以完全排除。

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

- halo-sigs/richtext-editor#71 Fixes #4868

#### 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/console Issues or PRs related to the Halo Console area/editor Issues or PRs related to the Editor kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant