You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Wednesday, 22 December 2021
  6 Replies
  619 Visits
Hi Ryan,

There is an issue with the "Insert link" function when the link contains a Font Awesome HTML tag : when you edit a link, the text is duplicated inside the <i> tag.

E.G. If you edit this kind of HTML structure

<p><a href="/test.html"><i class="fas fa-address-book"></i> This is a link</a></p>


After edit the code becomes :

<p><a href="/test.html"><i class="fas fa-address-book">  This is a link</i> This is a link</a></p>


You don't even need to make any changes, just click on the link, click on "Insert link" and then click on "Update"

I've tested with JCE 2.9.18 and on your demo website.

Best regards
one week ago
·
#109972
Accepted Answer

Just because you're not paranoid doesn't mean everybody isn't out to get you.

3 weeks ago
·
#109888

Just because you're not paranoid doesn't mean everybody isn't out to get you.

2 weeks ago
·
#109893
Hi Ryan,

An unnecessary nbsp; is added now with 2.9.19 Beta.3 after the </i> tag

Before :

<p><a href="/test.html"><i class="fas fa-address-book"></i> This is a link</a></p>


After :

<p><a href="/test.html"><i class="fas fa-address-book"></i>  This is a link</a></p>
2 weeks ago
·
#109894
The non-breaking space is a replacement for the space character between the icon and the text. It perfoms the same role, and is more correct.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

one week ago
·
#109971
Hello Ryan,

Yes, but if there is already a space, it appear like a second space.

Maybe it's beter to remove the existing space to replace with the non-breaking space ?
one week ago
·
#109972
Accepted Answer

Just because you're not paranoid doesn't mean everybody isn't out to get you.

GFCOM selected the reply #109972 as the answer for this post — 1 week ago
one week ago
·
#109973
Great ! Works like a charm :D
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!