Using raw js issue

Posted in: Newspaper
Post count: 18

Hi TagDiv experts,

Something weird started happening today with the raw js blocks. I am adding adsense ad code and it has been fine. Then today I added another one, looks fine, save the block but when I hit update on the page, the code changes to all these Chinese characters.
Anyone have an idea of what’s going on?

Diana

Post count: 18

Using Newspaper 6 on wordpress 4.3.1

Here is a screenshot of what is happening….top raw js is fine but when I added another one later in the day, saved, the wierd charactors show up and of course the GA ad won’t show>

raw js image

  • This reply was modified 10 years by desertdiana. Reason: image didn't appear
  • This reply was modified 10 years by desertdiana.
Post count: 9544

When copy-pasting anything into Visual composer; try not to copy/paste from a web browser page or MS Word or similar.

Save to a plain text file then copy/paste into visual composer from that.

Stupid I know, but I do this to ensure no “formatting” embedded in other application gets included by browser when pasting into the widgets.

Might not help, but it was one way I got around that kind of weirdness; assuming you were not hacked or something, of course.

Post count: 18

did that too and same result. Does this theme minify JS?

Post count: 18

Oh and I should mention that the ad is showing even with the weird code.

Post count: 7909

Hi,

I have some reports regarding Raw Html/JS blocks and it seems to be an issue from Visual Composer. We will provide the new version of VC this week when a new version of Newspaper will be released.
If you cannot wait till then, you can send an email at contact@tagdiv.com paste a link to this topic and we will find a solution for you to test this.

Thanks!

Post count: 18

Great, thank you Alin will do!

Diana

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.