May 16, 2019 at 20:22 UTC - Views: 25 #59717
Wordpress is automatically adding code to the text I paste from Word (Home & Office 2016).
What I paste:
Plastic bubble wands can be used to blow bubbles that will glow under a blacklight. You get 11 assorted wands and a tray.
When I publish, WordPress has added paragraph and tags:
How can I stop WordPress from doing this? I am using Weaver Xtreme Theme.
Thanks for your help.May 16, 2019 at 20:30 UTC - Views: 24 #59718May 16, 2019 at 20:33 UTC - Views: 23 #59719
I don’t know how to show you the code. Please highlight the above and choose “View Selection Source” to see the code.
Thanks so much!May 16, 2019 at 21:27 UTC - Views: 21 #59722
What about exporting first as .txt? Secondly, importing in WordPress.May 16, 2019 at 22:11 UTC - Views: 19 #59724
I dont know what editor you are using (block or classic), but there is normally a tool you can select to paste as text.
Trying to paste formatting from a text application is likely to fail with WordPress. You will need to do the styling using the WordPress editor.
If you are inputing HTML, then you need to use an HTML block, or if using the Classic editor, Use the TEXT mode (not visual), and check the Page option “Allow Raw HTML and Script”, that will stop any WordPress formattingMay 16, 2019 at 23:19 UTC - Views: 16 #59725
WeaverKeymasterMay 19, 2019 at 15:39 UTC - Views: 8 #59739
I managed to paste as text, which went well.
It turns out that it’s when I click “Update” that WordPress adds that extra code.May 19, 2019 at 16:08 UTC - Views: 6 #59740
Well, I got it to work, and I’m pretty sure that it’s because I didn’t have a tag to close the link just above the problem area.
It is annoying, however, that WordPress filled in that tag (which is great) but then added more tags around the next word.May 19, 2019 at 16:52 UTC - Views: 4 #59741
If your HTML is bad, then you cant complain WordPress or the browsers tries to fix it (and they will) 🙂
You must be logged in to reply to this topic.