Robohelp - TOC无法在Chrome中使用

时间:2011-09-20 09:36:16

标签: javascript google-chrome robohelp

当我尝试使用Robohelp在Google Chrome浏览器中在线查看目录(TOC)时,左侧面板中不会显示TOC。

请建议我如何解决问题。

2 个答案:

答案 0 :(得分:1)

我通过下载最新版本的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

重建项目。

答案 1 :(得分:0)

尝试启动Chrome,将--allow-file-access-from-files添加到目标。