How to insert custom javascript code? is the custom-code plugin works with script?
Question
How to insert custom script code, such as, fb pixel, google tag manager etc
Answers (2)
Yes it works https://github.com/artf/grapesjs-custom-code
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.
Issue #1030
[Question] Firing events with custom components
I'm trying to build a plugin for Grapesjs with some custom components, and I'm having trouble with triggering events and interacting with t...
Issue #1931
[Question]: How to insert image inside the link?
Hi @artf , How can I insert image inside the link? Please share your ideas what I need to do. If I need to create any custom component, ple...
Issue #1459
[QUESTION] How to store "data-" attributes into the html tag of the component
Hi, I'm developing a plugin for charts using chart.js. In order to the generated template render the chart from a data model generated by t...
Issue #2008
[Question]The canvas turns dark and unmodifiable on adding a large piece of custom html.
I used to add custom html with editor.addComponent(). It works well at most of the time, but when I try to insert a large piece of HTML whi...
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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.