When drag and drop block into editor in Chrome, error thrown
From your demo, I can see you're using the 0.16.45 version. Please open the bug issue only for the latest version.
Read full answer below βQuestion
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chromw 96.0.4664.45 Reproducible demo link https://thanhtunguet.github.io/grapesjs-react/?path=/story/grapesjsreact--primary Describe the bug How to reproduce the bug?Drag and drop the basic blocks in editor What is the expected behavior?Drag and drop the basic blocks in editor and it should be shown in the editor What is the current behavior? Drag and drop the basic blocks in editor, console error thrown The Drag and Drop of the basic blocks in editor working correctly in firefox browser https://...
Answers (2)
From your demo, I can see you're using the 0.16.45 version.
Please open the bug issue only for the latest version.
Thanks for reporting this, @sridhar391. Great question about When drag and drop block into editor in Chrome, error thrown. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener me...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4094
When drag and drop block into editor in Chrome, not able to drag and drop block
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 97.0.4692.71 (Official Build) (64-...
Issue #4506
Error on drag block with dragmode: absolute
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v103 Reproducible demo link https:/...
Issue #5689
<> is introduced at the beginning editor.getHtml()
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome Version 121.0.6167.185 (Official Buil...
Issue #5107
When installing plugins like grapesjs basic block or tui-image-editor it is giving namespace error in node_modules.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link NA Describe...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βRelated tutorials
In-depth guides on the same topic.
Tutorial
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.
Tutorial
Big Updates: TinyMCE 8 and Placeholder 2.0 for GrapesJS
In May we shipped major updates to two of our most popular GrapesJS plugins β TinyMCE Inline Text Editor and Placeholder.
Tutorial
Find the Right GrapesJS Plugin in Seconds: Smarter Discovery Is Live
We're shipping a set of discovery upgrades. New label filters, a proper compatibility switch for GrapesJS vs Studio, one-click and a smarter sort bar.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.