-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add resize feature supports for image and iframe #2
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/cc @halo-sigs/halo |
可以在后续优化,这个可能得修改稍微底层点的东西。 |
从最新的预览链接,似乎没有找到添加图片和 iframe 的入口。 |
图片的入口目前是在 Console 加的,因为要和附件库绑定。 |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: JohnNiang The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…media (#834) #### What type of PR is this? /kind feature #### What this PR does / why we need it: 升级默认编辑器版本,改动请查阅: 1. halo-sigs/richtext-editor#4 2. halo-sigs/richtext-editor#3 3. halo-sigs/richtext-editor#2 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 升级 Console 端默认编辑器版本,以支持图片位置和大小设置、插入音视频等功能。 ```
…media (halo-dev/console#834) #### What type of PR is this? /kind feature #### What this PR does / why we need it: 升级默认编辑器版本,改动请查阅: 1. halo-sigs/richtext-editor#4 2. halo-sigs/richtext-editor#3 3. halo-sigs/richtext-editor#2 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 升级 Console 端默认编辑器版本,以支持图片位置和大小设置、插入音视频等功能。 ```
PR from #8 Revert the changes made in #2. Avoid conflicts with manual size setting caused by immediate triggering after binding by checking the number of ResizeObserver events triggered. Remove the transition of the Image component (or at least remove the width and height) to avoid the blocking feeling caused by resizing. **This PR has changed the example-package.json,But the pack lock file was not submitted.(I have an inconsistent version of PNPM)** Fixes #8 ```release-note 支持拖拽调整图片大小。 ```
/kind feature
Fixes halo-dev/halo#2986
Fixes halo-dev/halo#2985
Fixes halo-dev/halo#2686
Fixes halo-dev/halo#2685
todo list:
测试方式: