我们能在 GrapesJS 编辑器中使用 [Wistia](https://wistia.com/) 吗?我想像Vimeo在编辑器中使用的那样使用它。
当然,只要检查当前的 [ComponentVideo](https://github.com/artf/grapesjs/blob/dev/src/dom_components/model/ComponentVideo.js) 实现,并根据需要扩展它。
阅读下方完整回答 ↓问题
你好,@artf, 我们能在 GrapesJS 编辑器中使用 [Wistia](https://wistia.com/) 吗?我想像Vimeo在编辑器中使用的那样使用它。  情景: 我在我的Wistia领域有个视频,请让路径 https://mydomain.wistia.com/medias/VIDEO_ID。我必须添加那个URL或视频,因为我们正在编辑器>视频设置中添加带有视频ID的YouTube视频链接。 期待屏幕:  请求: 有没有办法把Wistia集成到这个编辑器里? 有没有什么整合指南或相关文档? 已使用版本: 葡萄 - 0.16.18 CKeditor - 标准 - 4.14.1 如果我在 grapesJS 编辑器里获得关于 Wistia 的支持会有帮助。 谢谢你。
回答(2)
当然,只要检查当前的 [ComponentVideo](https://github.com/artf/grapesjs/blob/dev/src/dom_components/model/ComponentVideo.js) 实现,并根据需要扩展它。
谢谢你举报,@SintoDema。 关于*的好问题。GrapesJS 推荐的方法是使用事件驱动 API。 从这里开始: 查看你所在模块的[GrapesJS文档](https://grapesjs.com/docs/) 寻找“on()”事件监听器方法 大多数操作可以通过监听编辑器和组件事件来实现 常见模式: “JavaScript 留意变化 editor.on('change', () => console.log('something changed')); 组件生命周期 editor.on('component:mount', (c) => console.log('component r...
相关问答
通过相似的问题讨论继续研究。
问题 #3400
Ckeditor5 + GrapesJS 现在可以实现了!
我们是[DevFuture](https://devfuture.pro/grapesjs-development/),开发了集成GrapesJS + ckeditor5的插件。 视频示例: https://www.youtube.com/watch?v=xn4gSMIrx-A...
问题 #3250
问题:图层标签
@artf我很喜欢和GJS合作。我还有最后一件事希望你能帮忙。 如果能在图层管理器中自定义标签会非常有帮助。我到处找过,但都没找到。 默认显示“文本”和“框”的方式,对于想要高效导航来说帮助不大。 <img width=“204” alt=“截图 2021-01-28 07 2...
问题 #3287
包装造型
首先,祝贺@artf完成了这个了不起的项目 💯 我目前正在做一个项目,想问一下是否可以像编辑里面其他组件那样编辑包装器(主体)。 例如,我想像编辑背景色一样编辑包装的填充部分。 ![葡萄提问](https://user-images.githubusercontent.com...
问题 #3355
优点:在图层面板元素中添加标题属性
你好@artf, 当我在图层面板中嵌套多个元素时,由于图层面板宽度不够大,有些元素名称会被截断,我知道自定义可调整大小面板可以解决,但大多数用例中添加标题属性就足够了。 ![截图 2021-03-22 14 50 53](https://user-images.githubus...
与此问题匹配的付费插件
根据问题关键词和标签相关性精选,助你更快交付。
正在加载付费插件推荐……
相关教程
关于同一主题的深入指南。
教程
How Much Does It Cost to Build a SaaS Page Builder in 2026?
How much does it cost to build a SaaS page builder in 2026? Explore realistic development costs, timelines, features, and how using GrapesJS can reduce
教程
Claude Skill for GrapesJS: How AI Is Changing the Way We Build Visual Editors
We've released the Claude Skill for GrapesJS Development — a free, open-source skill that turns Claude into a developer who actually knows GrapesJS
教程
Building an AI-Assisted Document Engine with Next.js, GrapesJS, and the AI SDK
Transform your static template editor into an intelligent, generative design workspace with Vercel AI SDK, AI Elements and Next.js.
浏览插件分类
直接跳转到市场上的插件分类页面。