How to work with Custom Components
Problem 1 It depends (you can extend other types), but that is the base for all the componentsProblem 2 Here you should point out only issues related to the core library and not its pluginsProblem 3 Please read carefully this https://grapesjs.com/docs/modules/Components.html
Read full answer below ↓Question
Hello, I have some questions and issues about and with the grapes editorProblem 1 In a component, which class is there extended? Is it really this class?Problem 2 I have created a codesandbox which shows which issues I currently have. It is oriented on the mjml-pluginSandbox Output Sandbox CodeSteps to reproduceDrag the Button block into the editorSee that there are no classesModify the widthThe size is not changingReload the pageThe size is now applied because now a class has been addedNow when there is a class width modifications are shown live.Reload the pageAnother class was added. This d...
Answers (3)
Problem 1
It depends (you can extend other types), but that is the base for all the components
Problem 2
Here you should point out only issues related to the core library and not its plugins
Problem 3
Please read carefully this https://grapesjs.com/docs/modules/Components.html
Please read carefully this https://grapesjs.com/docs/modules/Components.html Yeah, forgot an important line defaults: { ...defaultModel.prototype.defaults, ...props } Here you should point out only issues related to the core library and not its plugins Well that was not really a problem with the mj...
What are the steps of importing a customised component?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4735
resetId types mismatch
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? n/a Reproducible demo link n/a Describe th...
Issue #3235
"component:update" does not trigger when components are moved
Taken from https://github.com/artf/grapesjs/blob/dev/src/editor/index.js#L33 component:update - Triggered when a component is updated (move...
Issue #2204
[Feature] custom processor callback for components generated from Vue
Hello there! i recently ran into this new awesome feature introduced here here you can have some processing done on the react generated ele...
Issue #3596
Values are not escaped
GrapesJS code is open to XSS issues because values are inserted into DOM without escaping, e.g. https://github.com/artf/grapesjs/blob/dev/s...
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 →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.