0

当我尝试在使用 Robohelp 生成的 Google Chrome 中在线查看目录 (TOC) 时,TOC 未显示在左侧面板中。

请建议我如何解决这个问题。

4

2 回答 2

1

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

并重新生成项目。

于 2018-03-01T13:30:19.807 回答
0

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

于 2012-08-31T08:21:10.523 回答