Phone logo

GK User
Thu Aug 21, 2014 7:34 pm
Hello!

First of all, sorry for my por english.

I'm tryin to edit the "Contact - Phone" module. But if I try to change the pone number, the phone logo is gone. Examining the code with Firebug, it seems that the HTML code is parsed, and content of <i> labels, deleted qhen content is saved. I can "restore" <i> labels in the editor, placing an space (or point), and the logo returns, but not centered.

¿Any idea? Thanks.
User avatar
Fresh Boarder

GK User
Thu Aug 21, 2014 9:51 pm
Solved. It's the TinyMCE editor. Don't use this, guys... :/
User avatar
Fresh Boarder

teitbite
Sun Aug 24, 2014 7:50 pm
Hi

You are right. TinyMCE removes what it thinks is a dangerous code. Unfortunatelly since HTML5 is very flexible some parts of it can be removed as well. Best option is to disable using editor in user settings while editing html5 related code. Or use a different editor.
User avatar
Moderator

GK User
Fri Feb 27, 2015 4:12 pm
Give it so, but without the editor and then save it!


Code: Select all

<div class="content">
<div class="custom big-icon">
<i class="gk-icon-phone"></i>
<a href="tel:#">+123-456-789-12</a>   
</div>
</div>


User avatar
Expert Boarder


cron