Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: C1 Visual Editor removes tags

$
0
0
Hi Jim

I am just starting to look at similar work, integrating the visual editor to work nicely with templates. With fontawesome until now I have simply replaced the <I> tags with <span> tags which gets around the problem.
<ul class="icon">
    <li><span class="fa fa-asterisk"></span> fa-asterisk</li>
    <li><span class="fa fa-ban"></span> fa-ban</li>
    <li><span class="fa fa-barcode"></span> fa-barcode</li>
    <li><span class="fa fa-bell"></span> fa-bell</li>
    <li><span class="fa fa-bolt"></span> fa-bolt</li>
    <li><span class="fa fa-book"></span> fa-book</li>
    <li><span class="fa fa-bookmark"></span> fa-bookmark</li>
</ul>
the above works fine and is quick and easy to edit in a text editor prior to pasting in.

How have you got on with adding blocks and classes to the editor. I have followed the docs and edited common.xml following the examples but nothing ever shows up in the editor, is there another step to enable the changes?

John.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>