May 16, 2019 at 20:22 UTC - Views: 48 #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: 47 #59718May 16, 2019 at 20:33 UTC - Views: 46 #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: 44 #59722
What about exporting first as .txt? Secondly, importing in WordPress.May 16, 2019 at 22:11 UTC - Views: 43 #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: 39 #59725
WeaverKeymasterMay 19, 2019 at 15:39 UTC - Views: 31 #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: 29 #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: 27 #59741
If your HTML is bad, then you cant complain WordPress or the browsers tries to fix it (and they will) 🙂May 20, 2019 at 15:45 UTC - Views: 22 #59755
I spoke too soon. I did make it sound like it was my error, I apologize for not checking that before posting on this board.
However, after making sure that all tags were closed, I “pasted as text” and then published. The same thing happened. WordPress added more tags, which highlighted the first words that came before the link, making it look like that was a link (which it was not).
My solution was to give up and remove the first words before the link. I made the first words the link, instead of having the link come later in the sentence.
So it’s still a problem without an apparent solution, but I worked around it.
Thanks for all your help, everyone!May 20, 2019 at 17:13 UTC - Views: 20 #59756
Are you pasting HTML?
If so, Are you using an HTML block (if using the block editor), or are you using TEXT mode of the classic editor AND checking “allow Raw HTML and Script” in the page options?May 20, 2019 at 19:04 UTC - Views: 17 #59757
I’m pasting HTML using the Code Editor.
I don’t see an “allow Raw HTML” option.May 20, 2019 at 22:24 UTC - Views: 15 #59758
1) You are not answering my question about what editor you are using (Block editor or Classic Editor)
By “Code editor”, do you mean you are using the Classic Editor in TEXT mode?
2) When you are in your page editing page, there is a section Weaver XTreme 4 Options for this page
In there there is a TAB called “Misc Options”
In there is the “Allow Raw HTML and script” optionMay 21, 2019 at 19:53 UTC - Views: 10 #59763May 21, 2019 at 20:02 UTC - Views: 8 #59764
I tried to attach an image but it didn’t work.
I’m in Document (as opposed to Block) and Code Editor (as opposed to Visual Editor).
There is indeed a section Weaver XTreme 4 Options for this page, and “Misc Options” and “Allow Raw HTML and script” which I checked. It did not work. WordPress added more tags, which highlighted the first words that came before the link, making it look like that was a link (which it was not).May 21, 2019 at 20:06 UTC - Views: 7 #59765
Here’s the page, please scroll all the way to the bottom and look at the text under the image of the bubble wands.
You must be logged in to reply to this topic.