calling of grapesjs.min.js file functions
Question
I want to use the function spreadUrl(url) of grapesjs.min.js file in my JSP. The grapesjs.min.js file is already included in my jsp. How will I call that spreadurl function in my jsp. I tried something like this but its not working. If anyone helps how I achieve this function??
editor.getSelected.prototype.constructor.prototype....spreadUrl(url) //not working.
Answers (3)
If it's not a public method you can't use it
Ohh Okay. Thanks alot @artf
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 #1720
[QUESTION] How to add the button in custom traits
Hi, I try to add a button to my custom traits for my custom blocks but its not working fine as expected and also need to know how to call t...
Issue #1596
get uncompressed of grapesjs-preset-webpage.min
Hi, to understand and learn how your preset is working, it will be much more easier if you can upload a uncompressed file of grapesjs-prese...
Issue #459
Error when including a custom component inside another block
Sorry for the vague title. I'm not sure how to describe this concisely. I have a custom block where i want to restrict that only images can...
Issue #935
[QUESTION] In creating a custom block how do you create it's corresponding settings?
I want to make a link that will let the user enter the url for it or to let him choose a link to another page which he already created.
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.