【问题标题】:Robohelp — TOC is not working in ChromeRobohelp — TOC 在 Chrome 中不起作用
【发布时间】:2011-09-20 09:36:16
【问题描述】:

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

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

【问题讨论】:

    标签: javascript google-chrome robohelp


    【解决方案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
    

    并重新生成项目。

    【讨论】:

      【解决方案2】:

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

      【讨论】:

      • Pavan 可能希望为所有网站访问者解决这个问题。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-02
      • 2013-04-18
      • 2011-12-11
      • 2013-07-25
      • 2016-01-26
      相关资源
      最近更新 更多