Issue #1756💬 AnsweredOpened January 28, 2019by muzniousx1 reactions

Drag and Drop not working in resized editor window in Google Chrome

Quick answerby muzniousx1

Hi, Thanks for your reply. editor.refresh() also didn't work. But, finally the issue was fixed when updating the google chrome and grapesjs-preset-newsletter.

Read full answer below ↓

Question

Hi, I developed some components and all works fine in Firefox, Opera browser. In Google chrome also working fine in fullscreen editor mode only. But, when resizing the editor screen size(custom width & height), drag and drop is not working for all components. The green bar to point the target drop location is also not showing. In Some times, It only allows only one component to drag and drop and then it blocks all other components. And No errors are shown in console window. I tried a lot to fix this issue. Cleaned the cache, But, still i couldn't find a solution. I think when resizing the edi...

Answers (3)

muzniousxApril 5, 2019

Hi, Thanks for your reply. editor.refresh() also didn't work. But, finally the issue was fixed when updating the google chrome and grapesjs-preset-newsletter.

artfFebruary 5, 2019

Can you explain how do you resize the editor?

muzniousxFebruary 6, 2019

This is the function i use for resize the window. function resizeEditor() { if ($('.detailview-header').length > 0) { $('#MyTemplateEditor').height(($(window).height() - 150 - $('.detailview-header').outerHeight(true) - 70) + 'px'); } else { $('#MyTemplateEditor').height(($(window).height() - 150)...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.