Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tiabradford

    (@tiabradford)

    Here is the full code

    [caption width="300" caption="Towing – Oil Spill Storage Towable Bladder (Panama)"]
    <a class="foobox" href="https://www.youtube.com/embed/ynUjuuW5afA?autoplay=1" rel="foobox" data-caption-title="Towing – Oil Spill Storage Towable Bladder (Panama)"><img alt="" src="https://img.youtube.com/vi/ynUjuuW5afA/hqdefault.jpg" /></a>
    [/caption]
    
    [caption width="300" caption="Towing – Oil Spill Storage Towable Bladder (Hawaii-USCG)"]
    <a class="foobox" href="https://www.youtube.com/embed/dDX8FbMg49s?autoplay=1" rel="foobox" data-caption-title="Towing – Oil Spill Storage Towable Bladder (Hawaii-USCG)"><img alt="" src="https://img.youtube.com/vi/dDX8FbMg49s/hqdefault.jpg" /></a>
    [/caption]
    
    [caption width="300" caption="Offloading – Oil Spill Storage Bladder"]
    <a class="foobox" href="https://www.youtube.com/embed/2J4ekb0P9jo?autoplay=1" rel="foobox" data-caption-title="Offloading – Oil Spill Storage Bladder"><img alt="" src="https://img.youtube.com/vi/2J4ekb0P9jo/hqdefault.jpg" /></a>
    [/caption]
    Plugin Author J-Ro

    (@j-ro)

    Doesn’t seem to be at the moment, though this is an issue without the plugin, so it’s just an issue in general with TinyMCE it seems. Not sure it’s one I’ll be able to solve though, since while this plugin stops TinyMCE from messing up HTML, it still needs HTML to work with, and this code isn’t HTML.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Caption shortcode is stripped when switching to Visual Mode’ is closed to new replies.