Bind handleAdd so that implementors can get a reference
Question
I've marked as a bug just because I think this reflects a minor inconsistency; but it could also be understood as a feature request. The scenario is:I'm providing my own methods for uploadFile and handleAdd, which is something that's possible today.I can see that uploadFile has been bound to its parent object, allowing me to get a handle of the editor object by doing: this.config.em.get('Editor') inside my method, which is cool.But, I cannot do the same for handleAdd. I'd like to be able to do the same - and it'd be more consistent, I believe. As an alternate solution, the editor could be pas...
Answers (2)
Totally agree about the consistency π
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 #923
Add a select-option to toolbar
I have read the code and only I could find out that there is only a list of ToolbarButton associated with the toolbar. I have a special tra...
Issue #1039
Missing support for empty-name traits
version: 0.14.8 I marked this as a bug, but it could be understood as a missing feature as well. Basically, grapesjs-blocks-bootstrap4 has...
Issue #1746
Don't Strip off html , head and body tags from imported html
Hi Team, We have noticed grapesjs has customised the actual template uploaded, by stripping off the html, head and body tags and adds new s...
Issue #1161
Do I need to include dropzone css to show the dragging hover
I have enable dropzone on assetManager and i think it works correctly. But I also notice that the hovering effect when the image is being d...
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.