using code editor – why no paragraph tages?
-
I’m fairly new to wordpress, but I’m more familiar with coding directly in HTML.
I’m used to editing pages and other code in a straightforward text file. I’m a bit frustrated with WordPress page builders, because it’s so difficult to make changes. Let’s say I lay out some text in different blocks. With a WordPress page builder I have to create a bunch of different blocks, edit the text in the them separately. Then I come up with a different layout I want to try, different widgets or whatever. If I were in a flat text file, I would just cut and paste things in a couple places and be done with it. But with a page builder, I pretty much have to start from scratch and manually create various blocks and widgets, copy in all the text again, etc. Very frustrating.
So I’m trying to use the WordPress code editor to type in raw HTML. It almost works, but I’ve noticed two things. One is that it removes all <p> tags. The other is that it’s sensitive to line breaks. This makes it a bit difficult to copy and past HTML into the code editor, because normal HTML formatting will have line breaks all over the place.
Is it possible to really use raw HTML, or change the behavior of the code editor so it doesn’t make line breaks significant?
- The topic ‘using code editor – why no paragraph tages?’ is closed to new replies.