Avatar of Stephen Kairys
Stephen Kairys
Flag for United States of America asked on

Word 2016 - Stubborn Gray Background (JSON pasted from Web Page)

In Word, I pasted a snippet of JSON code which (on the webpage) contained a gray background. The background carried over to the DOCX.

Gray Background Mystery
I have tried setting highlighting to white. And shading to NO COLOR. But the gray refuses to go away. I even pressed [SHIFT-F1] to see the formatting info, but nothing jumped out at me.

Scrubbed document attached.

Thanks,
Steve
Microsoft WordJSON

Avatar of undefined
Last Comment
Stephen Kairys

8/22/2022 - Mon
gilnov

Delete and re-paste using paste special by clicking on the little arrow below the Paste icon in the upper left corner of the Word doc window. Select one of the text-only options (unformatted text or unformatted Unicode text).
Paul Sauvé

>> Scrubbed document attached.

I think you forgot to post the document
Stephen Kairys

ASKER
@GIlnov - I had tried the text-only options, but they work "too well"...I lose the font, coloring, indenting, etc. All I want to do is to lose the gray background....

Paste with Text Only
@Paul. My bad. Let me try attaching again. I could swear I had done so.... :)

Thanks,
Steve
WordShading-JSONIssueScrubbed.docx
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
gilnov

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Stephen Kairys

ASKER
Gilnov, Thank you.

Sometimes, I think Word has too many ways to do things for our own good... :)

Steve
gilnov

I agree. Glad I could help. Check out Notepad++ if you're looking for a good, free alternative to word for editing code. notepad-plus-plus.org
Stephen Kairys

ASKER
Thanks.
I use Notepad++.
Thing is: I had copied/pasted this code for inclusion as an example a Word Doc. So, I'm stuck with Word...like it or not. :)
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
gilnov

Ha! Aren't we all. Code on, my friend.
Stephen Kairys

ASKER
:) Thanks again. Actually, in all modesty, I'm not the one coding. I'm just the lowly Tech Writer crafting an API doc....although I used to be a coder.... :)