Updating grapesjs with internal [site specific] changes
Question
Hello. Is there a way to switch to lastest grapesjs version keeping changes we made to the code for our internal use? Changes are in most cases small and regarding tweaking css and js logic -but we need those changes [mostly requested by client]. Changes are made on unminified version on grapesjs.
I will extract all changes in a document to have it just in case. What procedure should i follow ? Can i have those changes in some external file that will build up aside from grapesjs. Or i need to enter them manually every time new version comes up?
I'm not really familiar how grapesjs is build up to be used. Any help will be appreciated.
Thanks. Mladen
Answers (3)
Indeed this is what happens when you update the core library, it's hard to upgrade.
What procedure should i follow ?
There are no specific procedures, you just need to rewrite your custom logic in the new version and hope the code isn't changed that much
My personal advice, never change the core library, create plugins
Can I download source code , add changes to new js file (that will alter default component or block behaviour) and include that file in project ?
Aas a matter of fact - that's the way plugins are made , right ?
Aas a matter of fact - that's the way plugins are made , right ?
No, with plugins, you don't touch the code of the library so the upgrade is safer and easier
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2592
Modal width
Hello, is there a way to set a modal's width, its currently set to 850px by CSS, but I would like to create a dialog with a small amount of...
Issue #1962
[QUESTION] any other way to listen the traits option changes
HI, I added the code of listening to the changes made when the user selects the values in the dropdown. but I need to listen to the changes...
Issue #1561
Css shorthand
Hello @artf , is there a way to not convert a css added into shorthand? for example: border: 4px solid rgb(239, 13, 24); after visiting the...
Issue #1541
Remove Last changes From Undo Manager Stack
@artf Hello Can we remove the last event (changes) from undomanger. I need remove last event (change) from undo manger stack. I can get und...
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.