I need to allow a class tag on a ul element, but when I add it and save, it's stripped away.
<ul class="slides"> ---> <ul>
I have tried a few config options to allow it, but nothing seems to work. Can you please advise what I need to add to the config.js file? Thx.
I'm not expert but ...
I'm no expert but since the experts don't seem to reply to this forum, or don't give specific answers, I'll try to help you.
I'd suggest one of your allowedContent rules needs to include that class. Of the three formats for specifying allowedContent, I am using the string format so here's how I'd do that, I hope:
Of course a unordered list without any list items would be fairly silly, so you'd *at least* want to add the li tag into this list of accepted tags, like this:
Good luck.
Thanks for the reply. One of
Thanks for the reply. One of the developers replied to my question on Stack Overflow, which fixed my issue, so I'm adding the link for anyone who's interested.
http://stackoverflow.com/questions/18331520/ckeditor-removing-class-from-tag