turn off auto formatting in code editor
-
I tried turning off the auto formatting feature of the code editor when adding html to a page. I used the plugin “raw html” but it doesn’t seem to work very well. Specifically, when I’m editing I add a whole bunch of blank lines so I can more clearly focus on the area I’m working on. WordPress insists on removing them. I also added this line to functions.php
remove_filter('the_content', 'wpautop');
but it too doesn’t stop the removal. Finally, I tried the tinyMCE advance plugin but that too doesn’t work. How do I stop this behavior? If possible I would like to be able to disable ALL auto formatting.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘turn off auto formatting in code editor’ is closed to new replies.