Issue #792πŸ’¬ AnsweredOpened January 24, 2018by alvim0 reactions

Script property using function don't work with blocks

Quick answerby artf

Find where is the issue, it will be fixed in the next release

Read full answer below ↓

Question

In Components & JS docs there's this example: This works perfectly. But I couldn't use a function instead of a string in script, as is said it's supported like this example: It won't happen anything. The documentation isn't very clear about using scripts in blocks or components.

Answers (3)

artfβ€’ January 25, 2018

Find where is the issue, it will be fixed in the next release

chiqui3dβ€’ February 9, 2018

@artf These changes when they will be published?

artfβ€’ February 13, 2018

@chiqui3d should be fixed

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.