[support] Ckeditor strips tags
Tony
tony at tony-mac.com
Tue Apr 22 22:50:53 UTC 2014
I am baffled by the following.
I have this code in a block:
<div id="headcontact">
<ul><li><em class="mini-ico-envelope"></em><a href="mailto:
mail at mail.org">mail at mail.org</a></li><li><em class="mini-ico-user"></em>
(999) 463 1234</li>
</ul>
</div>
I close the block after editing and the em tag can be seen in firebug and
it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact">
<ul>
<li>
<a href="mailto:mail at mail.org">mail at mail.org</a></li>
<li>
(999) 463 1234</li>
</ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by
itself adding config.allowedContent = true; to the ckeditor.config.js file.
And to the advanced options.
I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks
Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac <http://www.about.me/TonyMac>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140422/0bb13a8b/attachment.html
More information about the support
mailing list