【发布时间】:2011-09-20 09:36:16
【问题描述】:
当我尝试在 Google Chrome 中在线查看使用 Robohelp 生成的目录 (TOC) 时,TOC 未显示在左侧面板中。
请建议我如何解决这个问题。
【问题讨论】:
标签: javascript google-chrome robohelp
当我尝试在 Google Chrome 中在线查看使用 Robohelp 生成的目录 (TOC) 时,TOC 未显示在左侧面板中。
请建议我如何解决这个问题。
【问题讨论】:
标签: javascript google-chrome robohelp
我通过下载最新版本的 Adobe Robohelp 10 解决了这个问题。 我根据以下站点修改了相应的文件: https://helpx.adobe.com/robohelp/kb/webhelp-issues-robohelp-versions-10.html
遵循 Peter Grainge 在https://forums.adobe.com/thread/2185300?start=40&tstart=0 上的以下指示:
Open the following folder <install dir>\RoboHTML\WebHelp5Ext\template_stock
Create a backup copy for the following file whthost.js
Copy the original to a folder outside of Program Files.
Open the file whthost.js in a text editor with line numbering such as Notepad++.
In line 872 (RoboHelp 2015 and 2017) or line 868 (RoboHelp 10 and 11) change the following line from
sText = sText.replace("\n", "");
to
sText = sText.replace(/\n/g, "");
Save the edited file and copy it back to <install dir>\RoboHTML\WebHelp5Ext\template_stock overwriting the original
并重新生成项目。
【讨论】:
尝试启动 Chrome,将 --allow-file-access-from-files 添加到目标。
【讨论】: