• Hi All.

    Heres my code I need to add to the source view of my wordpress post.

    <div class="third">
    									<span class="animated-numbers">
    										<div>
    											<span role="first-number">4 3 2 1</span>
    											<span role="punctuation">,</span>
    											<span role="second-number">6 5 4 3 2 1</span>
    											<span role="third-number">5 4 3 2 1 0 9 8</span>
    											<span role="fourth-number">0 9 8 7 6 5 4 3 2 1 0 9</span>
    										</div>
    										<span class="count-arrow"></span>
    									</span>
    								</div>
    								<div class="third">

    Problem is it works fine when in the SOURCE view but as soon as i switch back to the VISUAL view, it strips the first span from the code. The first span is the one i need the most.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Don’t try to add HTML markup and then switch back to the Visual editor. That’s the fastest way to remove some (or all) of your markup. Use the Text tab and stick to it.

    on’t try to add HTML markup and then switch back to the Visual editor. That’s the fastest way to remove some (or all) of your markup. Use the Text tab and stick to it.

    That’s a great way to deal with the problem. It doesn’t address the fact that this is a problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editor Stripping span tags’ is closed to new replies.