I'm using Foundation 5 Reveal Modal for popup. While I am comfortable creating chunks, TVs and TV selectors for a modal popup, I am a bit stumped on how to allow the site manager to create or insert a popup at random within any given block of text in the content TV.
I figured out that in modmore redactor, I can go to code view and just hard code the popup code, but that is going to make it a bit difficult for a site manager who is not comfortable with html. As well, redactor seems to be wanting to still surround items with p tags.
Is this a task that I should be using MIGx to solve?
Basically, my goal would be to allow the site manager to put content within a modal and then type in something like "click me for a modal" and be able to call up that modal.
<a href="#" data-reveal-id="myModal">Click Me For A Modal</a>
<div id="myModal" class="reveal-modal" data-reveal>
<h2>Awesome. I have it.</h2>
<p class="lead">Your couch. It is mine.</p>
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p>
<a class="close-reveal-modal">×</a>
</div>
[ed. note: mmcgee last edited this post 11 years, 9 months ago.]