Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #244649

    Hello,
    When I save my markup code in a text block, then open it up again it seems to duplicate it.
    Anyone seen this issue before, or how it can be resolved?
    Below is an example.
    This Original Code…

    
    <ul class="online-communities">
    	<li>Patient Communities</li>
    	<li>Physician Communities</li>
    	<li>Clinical Trials</li>
    	<li>Newsrooms</li>
    	<li>Caregivers</li>
    </ul>
    

    Becomes this Duplicated Code when opened again…

    
    <ul class="online-communities">
    <ul class="online-communities">
    <li>Patient Communities</li>
    </ul>
    </ul>
    <p>&nbsp;</p>
    <ul class="online-communities">
    <ul class="online-communities">
    <li>Physician Communities</li>
    </ul>
    </ul>
    <p>&nbsp;</p>
    <ul class="online-communities">
    <ul class="online-communities">
    <li>Clinical Trials</li>
    </ul>
    </ul>
    <p>&nbsp;</p>
    <ul class="online-communities">
    <ul class="online-communities">
    <li>Newsrooms</li>
    </ul>
    </ul>
    <p>&nbsp;</p>
    <ul class="online-communities">
    <ul class="online-communities">
    <li>Caregivers</li>
    </ul>
    </ul>
    <p>&nbsp;</p>
    

    Any information will be appreciated.
    Thanks in advance,
    Rick

    #244654

    Hmm. I think I may have found the culprit. TinyMCE Advanced Options settings.
    TinyMCE Advanced Options - Paragraph
    Is it possible to make this theme compatible with the TinyMCE paragraph option?
    Thanks,
    Rick

    • This reply was modified 10 years, 7 months ago by redbarndesign.
    #244960

    Hi!

    Thank you for using the theme! Glad you figure it out yourself.

    Unfortunately, the wpautop function is not a theme related issue and you may choose to disable it or not depends on how you use the editor. This function is useful for a lot of purposes, but if you are switching back and forth between the visual and text editors, it may be useful to disable it on a post by post basis. In your case, we suggest that you disable it when using shortcodes or html tags.

    Thank you for your understanding.

    Cheers!
    Ismael

    #245220

    Thanks. Will do!
    -Rick

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Duplicate code within text block’ is closed to new replies.