D
D
DarkByte20152018-10-03 15:15:37
JavaScript
DarkByte2015, 2018-10-03 15:15:37

How to prevent Ckeditor from changing my html?

I use Ckeditor and use the ability to edit html there (the "source" button). The problem is that as soon as you turn off this mode, all the formatting that I set there disappears and some tags too. How can I prevent him from changing what I edit? The editor is only in the admin panel, so no bad users will put anything bad there.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2018-10-03
@DarkByte2015

Configure (or completely disable) ACF
https://ckeditor.com/docs/ckeditor4/latest/guide/d...

S
solstud, 2018-10-04
@solstud

in config:
config.templates_replaceContent = false;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question