docmost icon indicating copy to clipboard operation
docmost copied to clipboard

[Feature Request] html Embed block 网页代码嵌入块

Open XJY00 opened this issue 8 months ago • 3 comments

Real-time rendering of html code Embed block

When I want to integrate some third-party embedded page services into the document It is found that embedding web front-end code is currently not supported

What can web page embedding blocks do?

  • We can embed a link card preview
  • Add custom page controls or code
  • We can embed third-party services that have not been integrated

Give examples here:

  • Many website services that support simple embedded rendering
  • Self-deployed services
  • US youtube video
  • CN bilibili video
  • Any music player
  • nocoDB low codeing data center ( Database tables, kanban boards, Form , calendars)
  • custom Web page js effect
  • Website visit statistics

Potential security issues Perhaps when multiple documents collaborate, unauthorized implantation may occur in the embedded code But it would be much better if only Authorized users were allowed to use this function

实时渲染的html代码嵌入块

当我想要将一些第三方嵌入页面服务集成到文档中时 发现目前不支持嵌入web前端代码

网页嵌入块能做什么?

-我们可以嵌入链接卡预览 -添加自定义页面控件或代码 -我们可以嵌入尚未集成的第三方服务

举个例子:

  • 许多网站服务,支持简单的嵌入式渲染
  • 自部署服务
  • 美国 youtube视频
  • 中国 哔哩哔哩视频
  • 任何音乐播放器
  • nocoDB低编码数据中心(数据库表、看板、表单、日历)
  • 自定义网页js效果
  • 网站浏览次数统计

潜在的安全问题 当多个文档协作时,可能会在嵌入代码中发生未经授权的植入 但是,如果只允许有授权的用户使用此功能,那就更好了

XJY00 avatar Apr 24 '25 04:04 XJY00

#1089

XJY00 avatar Apr 25 '25 16:04 XJY00

哈哈不知道作者开发完了吗?我正在部署nocoDB. 不知道啥时候可以用上。嘻嘻

KONEONE avatar May 13 '25 14:05 KONEONE

可以在分支自行构建一个镜像,关于nocoDB,我同时推荐同类产品Teable,他们各有优势

XJY00 avatar May 14 '25 14:05 XJY00

Closing since we now have generic iframe embeds.

Philipinho avatar Jul 16 '25 08:07 Philipinho