I
I
Ilya Beloborodov2017-08-18 13:26:42
JavaScript
Ilya Beloborodov, 2017-08-18 13:26:42

CKEditor cuts my made-up tag?

Sawed down a button that inserts

<continued_subscription>Продолжение за подписку</continued_subscription>

But the editor replaces this tag with .
I wrote CKEDITOR.config.allowedContent = true; but it did not help.
PS. Naturally, on the site at the output it will be cut out

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kovalsky, 2017-08-18
@lazalu68

Roughly speaking, you wrote "Yes" in the column "Acceptable content " . Actually it should look something like this:

allowedContent: 'a[!href]; ul; li{text-align}(someclass)'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question