• As viewed from text editor my page has

    [steepscomment] You must access Text view to see the code for this page, which is in javascript. [/steepscomment]
    
    <script src="http://d3js.org/d3.v3.js">
    </script><script src="/wp-content/themes/steeps/js/membership-stats.js"></script>
    <link rel=stylesheet type=text/css href="/wp-content/themes/steeps/js/membership-stats.css">

    (note [steepscomment] just returns ”)

    I was in visual editor for this page and toggled disable wpautop (checked the box) and updated the page.

    This caused page to lose the link to my css file — took a while to figure out what happened.

    Note I am using WP Edit plugin — not sure if that is related but it might be.

    https://ww.wp.xz.cn/plugins/toggle-wpautop/

The topic ‘javascript lines were changed when in visual editor’ is closed to new replies.