Adding Script to Robohelp Project
Sorry - not very tech savvy regarding scripting.
My robohelp output (Frameless) is hosted on SharePoint. My company uses Edge and Chrome (Edge running in IE11 compatibilty mode for the output). Output shows fine in Chrome, but in Edge, the topic content briefly appears and then disappears (same in IE 11, which we are banishing - but still have for the mo).
Our resident hacker/tech guru provided the following info (in quotes):
:ok so window.TextDecoder
^ that exists in chrome, but not in IE
you are using a library that depends on that existing"
"use libraries that support IE or put this page somewhere other than sharepoint"
"try inserting this code into the very top of the body of the page:
<script src="https://unpkg.com/text-encoding@0.7.0/lib/encoding-indexes.js"></script>
<script src="https://unpkg.com/text-encoding@0.7.0/lib/encoding.js"></script>"
And ... lo and behold, that did the trick for the one topic that I pasted it into (after the <body> tag).
SO... I guess my questions are:
1) Is there a way to easily post those two lines into all topics (I assume I could do it with global S&R), or -
2) Barring that (preferable), is there any way to include those two scripts in the project and get them to run so I didn't have to go through the Search and Replace pain. Can I just grab the content from those scripts and paste them into the "topicpage.js" script?
