Presentations - Switching to design view reverts any javascript changes made in the html editor

  • 1
  • Problem
  • Updated 2 years ago
  • Not a Problem
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

So yes as the title explains I'm having trouble following some of the dev tutorials because all changes I make within the script tag gets reverted when I switch to design view even though I save the code. Any ideas why this could be happening?

Photo of Jim Johnston

Jim Johnston

  • 422 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Jim Johnston

Jim Johnston

  • 422 Points 250 badge 2x thumb
After looking at a few demos, I realised that you need to put your custom scripts in their own tag within the body section. This wasn't very clear in the tutorials so I'll leave this here in case others run into this issue. Thanks!
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Thanks for letting us know that Jim!
Photo of Jim Johnston

Jim Johnston

  • 422 Points 250 badge 2x thumb
No problem, just to clarify, the script tags dont necessarily need to be in the body section, I just assumed this due to the demo I looked at.