ramesh
ramesh

Reputation: 1

CKEditor: I want to disallow <ul> tag in WYSWYG editor

I have used the allowedContent=true that stops the HTML cleanup. But now I got stuck with other issue.

Issue is, when I enter the some text like <li> test text </li> in source and after I click source and again click source now the text changing to <ul><li> test text <\li><\ul>. It's adding ul tag. So I will want to disallow this. Can you advise.

Thanks in advance.

Upvotes: 0

Views: 90

Answers (1)

Reinmar
Reinmar

Reputation: 22023

There's no configuration option which would allow such thing because CKEditor must produce valid HTML and the <ul> tag is requires in this case.

Upvotes: 0

Related Questions