Issue #880πŸ’¬ AnsweredOpened February 16, 2018by ancanot0 reactions

Custom block with outside plugin in Grapesjs

Quick answerby artf

I can not handle double click event for open modal and changing image (in double click event working ImageViewer click event) This depends on what the plugin does with the DOM. The double-click event is binded to you images but if images are somehow modified/replaced that binding might be broken. It that case I'd sugg...

Read full answer below ↓

Question

I want to integrate Image viewer jquery plugin in grapesjs new custom block. I have loaded jQuery first. ImageViewer Plugin url - https://www.jqueryscript.net/gallery/jQuery-Plugin-For-Product-Viewer-with-Image-Hover-Zoom-BZoom.html The problem is that, when I create component, plugin connected (I give plugin js in init() function - canvas - scripts), butI can not handle double click event for open modal and changing image (in double click event working ImageViewer click event)script which is used ImageViewer plugin (in script function) after refreshing page doesn't work again and viewer not...

Answers (2)

artfβ€’ February 27, 2018

I can not handle double click event for open modal and changing image (in double click event working ImageViewer click event) This depends on what the plugin does with the DOM. The double-click event is binded to you images but if images are somehow modified/replaced that binding might be broken. I...

lock[bot]β€’ September 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.