GrapesJS v0.21.5 在 NodeJS(无头)中无法工作
你能查查最新版本吗 https://github.com/GrapesJS/grapesjs/releases/tag/v0.21.6 非常感谢@artf这方法非常有效。
阅读下方完整回答 ↓问题
葡萄JS版本 [X] 我确认使用最新版本的GrapesJS 你用的是什么浏览器? ChromeV117.0.5938.62 可复制演示链接 https://stackblitz.com/edit/node-1zsusv 描述一下那个虫子 如何复现这个漏洞? 运行“node index.js”启动应用程序。 预期的行为是什么? ... 目前的行为是什么? 如果需要执行某些代码以重现该漏洞,请将其粘贴到下面: “''js const editor = grapesjs.init({ headless: true }); ```行为准则 [X] 我同意遵守本项目的行为准则
回答(3)
你能查查最新版本吗 https://github.com/GrapesJS/grapesjs/releases/tag/v0.21.6
非常感谢@artf这方法非常有效。
谢谢你举报,@hannydevelop。 关于GrapesJS v0.21.5在NodeJS(无头)中无法工作的好问题。GrapesJS 推荐的方法是使用事件驱动 API。 从这里开始: 查看你所在模块的[GrapesJS文档](https://grapesjs.com/docs/) 寻找“on()”事件监听器方法 大多数操作可以通过监听编辑器和组件事件来实现 常见模式: “JavaScript 留意变化 editor.on('change', () => console.log('something changed')); 组件生命周期 editor.on('component:mount...
相关问答
通过相似的问题讨论继续研究。
问题 #4940
销毁并重新初始化时,会出现“无法读取未定义属性(读取'get')”。
葡萄JS版本 [X] 我确认使用最新版本的GrapesJS 你用的是什么浏览器? Google Chrome 版本 110.0.5481.100(官方版本)(64 位) 可复制演示链接 https://stackblitz.com/edit/js-3urscf?file=ind...
问题 #4250
Init() 方法类型错误
葡萄JS版本 [X] 我确认使用最新版本的GrapesJS 你用的是什么浏览器? Chrome v 100.0.4896.75 可复制演示链接 https://stackblitz.com/edit/typescript-ou8qpc?file=index.ts&view=ed...
问题 #6308
React 自定义界面“模态”无法显示“代码”
葡萄JS版本 [X] 我确认使用最新版本的GrapesJS 你用的是什么浏览器? 130.0.6723.117 可复制演示链接 https://stackblitz.com/edit/grapesjs-react-custom-ui?file=src%2FApp.tsx 描述一...
问题 #6081
自定义组件在初次渲染时无法在 grapsjs/studio 中显示
葡萄JS版本[X] 我确认使用最新版本的GrapesJS你用的是什么浏览器? 镀铬可复制演示链接 https://stackblitz.com/edit/vitejs-vite-4noagg?file=src%2FApp.tsx描述一下那个虫子 我第一次在 React 应用渲染...
与此问题匹配的付费插件
根据问题关键词和标签相关性精选,助你更快交付。
正在加载付费插件推荐……
相关教程
关于同一主题的深入指南。
教程
Ship to Production Faster: What’s New in GrapesJS Shadcn
Supercharge your page builder! GrapesJS Shadcn adds live drag previews, rich text / commands, dynamic data, and canvas presets to ship to prod faster.
教程
How to Build a Production GrapesJS Editor: The Complete Walkthrough of Brief, Preset, Plugins, and Services
A complete walkthrough of building a production GrapesJS editor: how to choose a preset, pick plugins, and scope setup services without burning a sprint.
教程
GrapesJS Inline RTE Plugins Update: CKEditor 5 v0.1.4 and Froala Inline Text Editor
CKEditor 5 Inline for GrapesJS v0.1.4 fixes Studio SDK toolbar clipping, iframe injection and link balloon bugs. Compare with Froala Inline — both $69.
浏览插件分类
直接跳转到市场上的插件分类页面。