Disable automated p-tag in product name (ck-editor)

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
maco01
Posts: 21
Joined: 16 Mar 2022, 10:37

Disable automated p-tag in product name (ck-editor)

Post by maco01 » 21 Jul 2022, 10:41

Hello,
when saving the product name, the editor automatically creates a p-tag around the text. that makes no sense because the product name is wrapped in an h2. Can we avoid this? Is this a Typo3 setting for the CK editor or one specific to aimeos?
(Typo3 10.4.30, aimeos 21.10.4)
Thanks and regards!
screen.jpg
screen.jpg (82.6 KiB) Viewed 2817 times

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

Re: Disable automated p-tag in product name (ck-editor)

Post by aimeos » 23 Jul 2022, 11:08

The <p> tags are generated by CKEditor 5 automatically and there's no way to suppress them. When saving, the opening and closing <p> tags are removed by Aimeos code to save only the real content.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 21
Joined: 16 Mar 2022, 10:37

Re: Disable automated p-tag in product name (ck-editor)

Post by maco01 » 27 Jul 2022, 08:10

The p-tags are unfortunately not removed when saving.

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

Re: Disable automated p-tag in product name (ck-editor)

Post by aimeos » 27 Jul 2022, 08:18

In general or after you switch to the CKEditor source mode?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply