API 文档配置对象链接失效
问题
葡萄JS版本
- 我确认使用最新版本的GrapesJS
你用的是什么浏览器?
狩猎
可复制演示链接
https://grapesjs.com/docs/api/editor.html#editor
描述一下那个虫子
如何复现这个漏洞?
- 访问 https://grapesjs.com/docs/api/editor.html#editor
- 在第2行和第33行点击“配置对象”。
或者访问此链接:https://github.com/artf/grapesjs/blob/master/src/editor/config/config.js 预期的行为是什么? 加载配置对象参考
目前的行为是什么? Github页面上的404
如果需要执行某些代码以重现该漏洞,请将其粘贴到下面: “''js 你的代码在这里
### 行为准则
- [X] 我同意遵守本项目的行为准则
回答(2)
谢谢@wunksert链接已经更新,下次发布时会修复
谢谢你举报,@wunksert。 关于API Docs配置对象链接坏了,这个问题很棒。GrapesJS 推荐的方法是使用事件驱动 API。 从这里开始: 查看你所在模块的[GrapesJS文档](https://grapesjs.com/docs/) 寻找“on()”事件监听器方法 大多数操作可以通过监听编辑器和组件事件来实现 常见模式: “JavaScript 留意变化 editor.on('change', () => console.log('something changed')); 组件生命周期 editor.on('component:mount', (c) => console...
相关问答
通过相似的问题讨论继续研究。
问题 #4765
官方的解析@keyframes方法并不起作用
葡萄JS版本[X] 我确认使用最新版本的GrapesJS你用的是什么浏览器? Chrome v107描述一下那个虫子 如何复现这个漏洞?按照[这里](https://grapesjs.com/docs/guides/Custom-CSS-parser.html#rule-obj...
问题 #3235
“component:update”在组件移动时不会触发
摘自 https://github.com/artf/grapesjs/blob/dev/src/editor/index.js#L33'component:update' - 当组件被更新(移动、样式等)时触发,模型作为参数传递给回调 重现这个bug使用“move”API 移...
问题 #3459
DomComponents 的配置错误
版本: 0.17.3 预期的行为是什么? 文档说我可以通过以下配置配置来配置包装器元素: https://github.com/artf/grapesjs/blob/0027dcd1194715eeaf4b24db878dd7ebac069cc4/src/dom_compone...
问题 #5144
PanelManager.addPanel 的类型定义错误
葡萄JS版本 [X] 我确认使用最新版本的GrapesJS 你用的是什么浏览器? 全部 可复制演示链接 没有 描述一下那个虫子 函数定义如下:https://github.com/GrapesJS/grapesjs/blob/v0.21.1/src/panels/index.t...
与此问题匹配的付费插件
根据问题关键词和标签相关性精选,助你更快交付。
正在加载付费插件推荐……
相关教程
关于同一主题的深入指南。
教程
How to Build an AI-Powered Page Builder with GrapesJS in 2026
What we learned building GJSDocs — from simple AI text generation to structured, context-aware visual editing
教程
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
教程
PageKit: the GrapesJS application you'd have to build anyway
A source-available Next.js app around the open-source GrapesJS core — publishing, custom domains, leads, checkout and a plugin loader.
浏览插件分类
直接跳转到市场上的插件分类页面。