Customize html editor code

Hi all, I’m trying to customize some landing page templates helped by Documentation and default templates.

Everything works fine and I am able to put togheter some decent design with custom fields.

But, I can’t find a way to avoid the HTML editor to write

before and after the text.



How to customize CKEditor?

Thank you

Filippo

Hi all, I’m trying to customize some landing page templates helped by Documentation and default templates.
Everything works fine and I am able to put togheter some decent design with custom fields.
But, I can’t find a way to avoid the HTML editor to write

before and after the text.

How to customize CKEditor?
Thank you
Filippo

Hi,

This is a late reply so you might have already found a solution but I’ve bumped into this issue today so thought I share my fix. I found that it is a CKeditor config that is causing it to put a P tag around everything so I’ve turned it off by changing line 15 of the CKEditor config:

from: config.enterMode = CKEDITOR.ENTER_P;

to: config.enterMode = CKEDITOR.ENTER_BR;

in appbundlesCoreBundleAssetsjslibrariesckeditorconfig.js

Hope this helps.

Linh