Grapesjs update

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
Wall0fDeath
Posts: 28
Joined: 30 Aug 2022, 13:56

Grapesjs update

Post by Wall0fDeath » 09 Jan 2024, 11:16

Php : 8.2
Os: Debian GNU/Linux 11 (Bullseye)
Aimeos 2022.10.12
Laravel 9.52.16

Dear Aimeos Team,

I would like to replace the grapes.js ( version 0.18 ) built into Aimeos ( 2022.10 ) with the current one (version: 0.21)?
(The table management in the original grapes js seems to be working much better.)

Are there any instructions for this?
Has anyone done this before?
How do I get started?

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Grapesjs update

Post by aimeos » 09 Jan 2024, 11:30

First, you have to replace the code in these files with the current code:
./vendor/aimeos/ai-cms-grapesjs/themes/admin/jqadm/grapesjs.js
./vendor/aimeos/ai-cms-grapesjs/themes/admin/jqadm/grapesjs-ext.js
./vendor/aimeos/ai-cms-grapesjs/themes/admin/jqadm/grapesjs.css

Then, you have to check if the GrapesJS API has changed and requires adapting the code.
If you get it to work, we would love to integrate your changes into the core! :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply