generated from halo-dev/plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support iframe and lazy-load display of media resources. (#10)
#### What type of PR is this? /kind feature #### What this PR does / why we need it: 为瞬间编辑器添加 `ExtensionIframe` 扩展,并对展示列表的 iframe、image 等进行懒加载处理。 #### Which issue(s) this PR fixes: Fixes #6 #### Special notes for your reviewer: 测试方式: 1. 安装可测试插件 [plugin-moments-1.0.0-SNAPSHOT.jar.zip](https://github.com/halo-sigs/plugin-moments/files/11147099/plugin-moments-1.0.0-SNAPSHOT.jar.zip) 2. 在编辑器复制一个 iframe 资源,查看是否能够正常识别,如下所示: ![image](https://user-images.githubusercontent.com/31335418/229754654-bdaa81b2-bfb3-4c2d-9815-70c100db4d24.png) #### Does this PR introduce a user-facing change? ```release-note 瞬间编辑器支持 `iframe` ,并优化列表资源过多的情况下,整体会卡顿的问题。 ```
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters