Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hullo,
So I've run into a slight problem. Basically I want to enable Lightbox functionality within an RTE.
The problem is that when I enter this into the RTE (HTML mode)...
<a href="/media/381031/farvekort_1_large.jpg" data-lightbox="color"> <img src="/media/381025/farvekort_1_small.jpg" /> </a>
and then save the document, the RTE changes it to...
<a href="/media/381031/farvekort_1_large.jpg"> <img src="/media/381025/farvekort_1_small.jpg" alt="" rel="145,180" /> </a>
Is there some kind of workaround to this, so I can use Lightbox within an RTE?
It's worth mentioning, of course, that Lightbox works just fine elsewhere on the site, where it isn't called inside an RTE.
Hello Heine
if you look in config/tinyMceConfig.config you will find
You pointed me in the right direction, and for that I'm thankful. :)
Any time ;)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Lightbox Functionality in RTE
Hullo,
So I've run into a slight problem. Basically I want to enable Lightbox functionality within an RTE.
The problem is that when I enter this into the RTE (HTML mode)...
and then save the document, the RTE changes it to...
Is there some kind of workaround to this, so I can use Lightbox within an RTE?
It's worth mentioning, of course, that Lightbox works just fine elsewhere on the site, where it isn't called inside an RTE.
Hello Heine
if you look in config/tinyMceConfig.config you will find
You pointed me in the right direction, and for that I'm thankful. :)
Any time ;)
is working on a reply...