Updating grapesjs with internal [site specific] changes
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
Read full answer below ↓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 #4273
How to trigger the 'Import Template (modal)' on page load
Hello, Please i'm in need of the logic on how to the import template modal on initialization of the page... I'm using the newsletter preset...
Issue #3202
Help needed: save/restore gjs data block types
Hello everyone, can you please point me to the right direction?When I save the html code and css code - it gets new-line-trimmed. Is there...
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...
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.