• So I have the code below that I copy and paste into a new blog post in the text editor. When I save, it strips the <style>, <input> and <script> tags from my code. But if I have another co-worker copy/paste this code and save, it does NOT strip these tags. He’s in network, and I’m remote. I’m an admin with all permissions enabled. Any thoughts?

    <style>
    .radio input[type="radio"] {
        opacity: 1;
        height: auto;
        width: auto;
        overflow: hidden;
    }
    .circle {
        display: none !important;
    }
    .radio label .check {
        display: none !important;
    }
    .answerBox {
        background:#ffffff; 
        padding: 30px; 
        margin: 20px 0;
        display: none;
    }
    .answerBox .fa-check {
        color:#6cc24a; 
        font-size:36px;   
    }
    .answerBox .fa-times {
        color:#ed1c24; 
        font-size:36px;   
    }
    .answerBox p {
         margin: 0;   
    }
    .wrongAnswer {
        border: 1px solid #ed1c24;   
    }
    .rightAnswer {
        border: 1px solid #6cc24a;   
    }
    </style>
    
    <!-- Import audio clips -->
    <audio id="audio1" src="https://www.teladoc.com/resources/wp-content/uploads/sites/11/2017/08/correct.mp3"></audio>
    <audio id="audio2" src="https://www.teladoc.com/resources/wp-content/uploads/sites/11/2017/08/incorrect.mp3"></audio>
    
    <p>Itchy, red, uncomfortable skin? Oozing patches, blisters, and areas of swelling or bumps will definitely ruin a carefree summer day. Your rash is an area of inflammation that was caused by touching a troubling substance—called contact dermatitis—or could be a sign of a larger medical problem, according to Dr. Jeffrey Zwerner, Senior Medical Director of Dermatology at Teladoc.</p>
    
    <p>Atopic dermatitis, or eczema, is a chronic problem that makes skin red and itchy. Other types of rashes appear after a whole-body infection or illness, or could be symptoms of an autoimmune disease. Some rashes can be treated or even cured, while others remain a mystery that must simply be controlled.</p>
    
    <p>Take our quiz to find how much you know how your body's rash response, and what can be done to find relief.</p>
    
    <!-- Question 1 -->
    
    <h4>1. The poison ivy rash is contagious (can be spread person to person)?</h4>
    <div class="radio"><input type="radio" name="optradio1" data-answer="false"><label>A) True</label></div>
    <div class="radio"><input type="radio" name="optradio1" data-answer="true"><label>B) False</label></div>
    
    <div class="answerBox" id="optradio1">
        <i class="fa" aria-hidden="true"></i>
        <p><strong>Answer: B.</strong> Your skin must come in direct contact with the ivy plant's oil to be affected. Blister fluid itself does <em>not</em> spread the rash.</p>
    </div>
        
    <!-- Question 2 -->
    
    <h4>2. Which disease causes a rash of raised dots that turn into painful, burning blisters for about two weeks?</h4>
    <div class="radio"><input type="radio" name="optradio2" data-answer="false"><label>A) Psoriasis</label></div>
    <div class="radio"><input type="radio" name="optradio2" data-answer="false"><label>B) Eczema</label></div>
    <div class="radio"><input type="radio" name="optradio2" data-answer="true"><label>C) Shingles</label></div>
    <div class="radio"><input type="radio" name="optradio2" data-answer="false"><label>D) Pityriasis Rosea</label></div>
    
    <div class="answerBox" id="optradio2">
        <i class="fa" aria-hidden="true"></i>
        <p><strong>Answer: C.</strong> Caused by the same virus that causes chickenpox, Shingles will affect about 1 of 3 people in the U.S.<sup>*</sup>, and is more common in older adults. The main symptom is a blistery rash that appears in a stripe formation around the trunk or buttocks. To prevent it, the CDC recommends a vaccine.<br /><sup>*</sup><em>https://www.cdc.gov/shingles/about/overview.html</em></p>
    </div>
        
    <!-- Question 3 -->
    
    <h4>3. A tick bite can cause a rash.</h4>
    <div class="radio"><input type="radio" name="optradio3" data-answer="true"><label>A) True</label></div>
    <div class="radio"><input type="radio" name="optradio3" data-answer="false"><label>B) False</label></div>
    
    <div class="answerBox" id="optradio3">
        <i class="fa" aria-hidden="true"></i>
        <p><strong>Answer: A.</strong> If you're bitten by a tick, a small red bump may form at the site, but a larger rash can develop. If the tick has transmitted Lyme disease, the redness may expand over weeks to form a round or oval rash, red or reddish-blue, usually bigger than 5 cm. Erythema migrans from Lyme disease will appear in about 70-80% of infected people. Also be on the lookout out for fever, chills, and aches.</p>
    </div>
        
    <!-- Question 4 -->
    
    <h4>4. Eczema, or atopic dermatitis, is treated with:</h4>
    <div class="radio"><input type="radio" name="optradio4" data-answer="false"><label>A) at-home therapies</label></div>
    <div class="radio"><input type="radio" name="optradio4" data-answer="false"><label>B) oral medications</label></div>
    <div class="radio"><input type="radio" name="optradio4" data-answer="false"><label>C) light therapy</label></div>
    <div class="radio"><input type="radio" name="optradio4" data-answer="true"><label>D) all of the above</label></div>
    
    <div class="answerBox" id="optradio4">
        <i class="fa" aria-hidden="true"></i>
        <p><strong>Answer: D.</strong> More than 30 million Americans have some form of eczema,<sup>*</sup> a non-contagious disease that causes the skin to become red, itchy and inflamed. Depending on the type you have and how bad your case is, a range of treatment tools may help. Ask a doctor what may be best for you.<br /><sup>*</sup><em>https://nationaleczema.org/eczema/types-of-eczema/</em></p>
    </div>
        
    <!-- Question 5 -->
    
    <h4>5. Athlete’s foot is a rash caused by:</h4>
    <div class="radio"><input type="radio" name="optradio5" data-answer="false"><label>A) A virus</label></div>
    <div class="radio"><input type="radio" name="optradio5" data-answer="true"><label>B) A fungus</label></div>
    <div class="radio"><input type="radio" name="optradio5" data-answer="false"><label>C) Contact with an allergen</label></div>
    
    <div class="answerBox" id="optradio5">
        <i class="fa" aria-hidden="true"></i>
        <p><strong>Answer: B.</strong> Tinea Pedis, known as Athlete's foot, is a fungal skin eruption of the foot. It's spread by coming in contact with infected skin scales in another person's shoes, or in damp, fungi-filled areas like public showers and locker rooms. Oral medications or topical creams treat this itchy condition.</p>
    </div>
    
    <p>Once a rash breaks out, ask yourself some questions about changes in your routine: were you in contact with new products or substances? Out in nature did you come across a plant, bug, or tick? Are you having other symptoms like fever, fatigue or discomfort? Write down anything that may have seem out of the ordinary.</p>
    
    <p>Next, you can take photos of your rash and using your login upload them to <a href="https://member.teladoc.com/signin?pk_campaign=TeladocBlog-RashReadinessQuiz&pk_source=blog" target="_blank" class="link">Teladoc</a> so one of our U.S. board-certified dermatologists can provide a diagnosis and treatment plan within two business days. Rashes shouldn't ruin you; instead, reach out to us anytime of day so an expert pair of eyes can help you find relief.</p>
    
        
        
    
    <!-- Disclaimer -->
    
    <p class="disclaimer" style="border-top: 1px solid #CCC;padding-top: 30px">This portion of the Teladoc website occasionally offers health, fitness and nutritional information and is provided solely for educational purposes only. You cannot rely on any information provided here as a substitute for or replacement of professional medical advice, diagnosis, or treatment. Teladoc cannot assure that the information contained on this site always includes the most recent findings or developments with respect to the particular subject matter covered.</p>
    
    <p class="disclaimer">If you ever have any concerns or questions about your health, you should always consult with a physician or other health-care professional. Do not disregard, avoid or delay obtaining medical or health related advice from your health-care professional because of something you may have read on this site. The use of any information provided on this site is solely at your own risk.</p>
     
    <p class="disclaimer">If you are in the United States and think you are having a medical or health emergency, call your health care professional, or 911, immediately.</p>
        
    
    <script>
    $(document).ready(function() {
       $('input[type=radio]').on('click', function() {
           var audio;
           var questionID = $(this).attr('name');
           var isAnswer = $(this).attr('data-answer').trim() === "true";
           if(isAnswer) {
               $('#' + questionID).children('.fa').removeClass('fa-times').addClass('fa-check');
               $('#' + questionID).removeClass('wrongAnswer').addClass('rightAnswer');
               audio = $('#audio1')[0];
               audio.play();
           } else {
               $('#' + questionID).children('.fa').removeClass('fa-check').addClass('fa-times');
               $('#' + questionID).removeClass('rightAnswer').addClass('wrongAnswer');
               audio = $('#audio2')[0];
               audio.play();
           }
           $('#' + questionID).show();
       });
    });
        
    </script>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello, bethanymiller31, & welcome. Is the ‘text’ as opposed to the ‘visual’ button pressed on your editor? If not, HTML will probably be rejected.

Viewing 1 replies (of 1 total)
  • The topic ‘WP text editor stripping HTML tags for 1 user only’ is closed to new replies.