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
- Forum
- JCE Editor
- "Mail Link" with custom style "class"
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
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.
Hi Ryan ...
about the "Mail Link" with added "class" ... (styled as a button)
- if I just add a "normal" Link it does show the custom "class" in the Frontend ... (it´s a button)
- if a "Mail Link" (with bodytext and all) the custom "class" is NOT shown in the Frontend (it´s just a plain link) ... in Frontend the "class" get´s stripped away ...
class".btn"
... is not in the source code)...
see Screenshot ...
about the "Mail Link" with added "class" ... (styled as a button)
- if I just add a "normal" Link it does show the custom "class" in the Frontend ... (it´s a button)
- if a "Mail Link" (with bodytext and all) the custom "class" is NOT shown in the Frontend (it´s just a plain link) ... in Frontend the "class" get´s stripped away ...
class".btn"
... is not in the source code)...
see Screenshot ...
if a "Mail Link" (with bodytext and all) the custom "class" is NOT shown in the Frontend (it´s just a plain link) ... in Frontend the "class" get´s stripped away ...
This may be the result of the Joomla email cloaking plugin re-writing the email link. Please post a link to an example on your site.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
This does appear to be caused by the Joomla Email Cloaking plugin, and I have confirmed this on a test Joomla 4 site.
If you disable the Content - Email Cloaking plugin, you will see the btn class applied and visible in the front-end source code.
If you disable the Content - Email Cloaking plugin, you will see the btn class applied and visible in the front-end source code.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Hi Ryan ... yup that sure is the culprit ... Plugin Email Cloaking ... thx for your quick answer.
and I found this, they are already working on that issue:
https://github.com/joomla/joomla-cms/issues/36166
https://github.com/joomla/joomla-cms/pull/36269
I just found an "easy" solution for myself at the moment ... i just wrapped the link in a DIV and that does the trick ...
<div class="btn"><joomla-hidden-mail i.... >a href="mailto:This email address is being protected from spambots. You need JavaScript enabled to view it.?subject=Titel...and...so...on>Linktext</a></joomla-hidden-mail></div>
and it´s a button again ...
and I found this, they are already working on that issue:
https://github.com/joomla/joomla-cms/issues/36166
https://github.com/joomla/joomla-cms/pull/36269
I just found an "easy" solution for myself at the moment ... i just wrapped the link in a DIV and that does the trick ...
<div class="btn"><joomla-hidden-mail i.... >a href="mailto:This email address is being protected from spambots. You need JavaScript enabled to view it.?subject=Titel...and...so...on>Linktext</a></joomla-hidden-mail></div>
and it´s a button again ...
I just found an "easy" solution for myself at the moment ... i just wrapped the link in a DIV and that does the trick ...
<div class="btn"><joomla-hidden-mail i.... >a href="mailto:This email address is being protected from spambots. You need JavaScript enabled to view it.?subject=Titel...and...so...on>Linktext</a></joomla-hidden-mail></div>
and it´s a button again ...
Great solution! I'll try and remember it if others report the same issue
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!