Add html in cms content in admin.

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
AleksandarJovanovic
Posts: 54
Joined: 01 Jun 2022, 21:26

Add html in cms content in admin.

Post by AleksandarJovanovic » 25 May 2025, 07:25

Laravel
- 2025

Hello, i have question how to add in cms (grapejs) Html block or mby h2,h3 text to be managed from admin panel.

Tnx

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

Re: Add html in cms content in admin.

Post by aimeos » 27 May 2025, 08:22

Headings are available in the list of elements you can enter in the CMS module.

If you want to insert HTML code directly, you need to create a content block like the existing ones:
https://github.com/aimeos/ai-cms-grapes ... om.js#L235

Also, you need to create a component for that content block:
https://github.com/aimeos/ai-cms-grapes ... om.js#L401
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply