错误的模型通过了“component:styleUpdate”事件
问题
“component:styleUpdate”事件中的模型与“component:selected”事件中的模型不同。我本以为点击组件后更改样式时,它们应该是一样的。
- https://jsfiddle.net/szLp8h4n/355/
- 打开控制台。
- 选择“hello world”文本
- 注意控制台输出

- 更换字体
- 注意控制台输出与选中组件时不同。

回答(1)
由于关闭后没有近期活动,该帖子已被自动锁定。请为相关漏洞开启新一期。
相关问答
通过相似的问题讨论继续研究。
问题 #1865
:葡萄换页
你好, 我在HTML页面中使用葡萄时发现了以下问题: 当你点击编辑器中的某些元素,比如在标签管理器中移动元素的箭头时,整个页面都会向上移动。 问题也出现在你的JSFiddle入门模板 https://jsfiddle.net/szLp8h4n。  -> Decorations -> Background -> Layer # -> Image”中添加背景图片,保存到...
问题 #1290
设置 href 作为初始化后不可编辑的链接块
#1277已关闭,但问题依然存在,所以我必须作为新问题发布 感谢你之前的帮助 @maryia-kabash@artf我为我的自定义链接制作了一个自定义块,请参见代码:编辑。BlockManager.add(“unsubscribe-block”, { 标签:“取消订阅”, 内容...
问题 #2044
本地服务器上的 NPM 开始开发失败了
按照 README 上描述的 'dev' 分支启动本地服务器的步骤,在控制台上能用,但在 Chrome 上失败,Grapesjs 也无法加载,因为以下错误 ![图片](https://user-images.githubusercontent.com/582516/585238...
与此问题匹配的付费插件
根据问题关键词和标签相关性精选,助你更快交付。
正在加载付费插件推荐……
相关教程
关于同一主题的深入指南。
教程
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.
教程
UnStudio for GrapesJS: 4 Plugins to Build Better Visual Editors
Meet UnStudio, a new GrapesJS plugin studio with four tools, safer and better editor: Command Palette, Responsive Pack, Autosave & Restore, and Autofill
浏览插件分类
直接跳转到市场上的插件分类页面。