You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make some inline markup become a block (I believe that's the right terminology) for pull quotes.
For example, my input:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pellentesque rhoncus odio, accumsan bibendum nunc interdum quis. $$ Fusce quis ullamcorper diam, sit amet luctus libero. $$ Maecenas in felis sagittis, rhoncus nunc ut, molestie tortor. Vivamus mollis libero non facilisis mollis.
Pellentesque condimentum pellentesque mi ac venenatis. Nullam ornare a nisi eu molestie. Vivamus eleifend, risus sed consectetur ultricies, orci elit iaculis mauris, pulvinar pellentesque elit eros ullamcorper neque. Aliquam erat volutpat.
(Notice the $$s in the first paragraph)
And the desired HTML output:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pellentesque rhoncus odio, accumsan bibendum nunc interdum quis. Fusce quis ullamcorper diam, sit amet luctus libero. Maecenas in felis sagittis, rhoncus nunc ut, molestie tortor. Vivamus mollis libero non facilisis mollis. </p>
<div class="pullquote">Fusce quis ullamcorper diam, sit amet luctus libero.</div>
<p>Pellentesque condimentum pellentesque mi ac venenatis. Nullam ornare a nisi eu molestie. Vivamus eleifend, risus sed consectetur ultricies, orci elit iaculis mauris, pulvinar pellentesque elit eros ullamcorper neque. Aliquam erat volutpat.</p>
Basically, I want to detect an inline element and append its content in a block.
Is this possible? If so, how?
The text was updated successfully, but these errors were encountered:
I'm trying to make some inline markup become a block (I believe that's the right terminology) for pull quotes.
For example, my input:
(Notice the $$s in the first paragraph)
And the desired HTML output:
Basically, I want to detect an inline element and append its content in a block.
Is this possible? If so, how?
The text was updated successfully, but these errors were encountered: