inDesign 扩展面板中的内容未显示

问题描述

我尝试遵循这些准则 — https://github.com/Adobe-CEP/Getting-Started-guides — 为 Adob​​e InDesign 2021 (macOS Big Sur) 构建扩展。我能够让我的面板 (EvoDesigner) 显示出来,但里面没有任何内容。我还尝试安装一个示例扩展——https://github.com/Adobe-CEP/CEP-Resources/tree/master/CEP_9.x/Samples/CEP_HTML_Test_Extension-9.0(也用 CEP_10 尝试过)——但它碰巧有同样的问题。关于如何解决这个问题的任何想法?

非常感谢!

Panels from sample extension and also my panel both showing nothing inside

解决方法

我通过为我安装的其他 CSXS 版本(9 和 10)激活调试模式解决了这个问题。原来,当时我只激活了版本 8 的调试模式,就像这个 tutorial 中的例子一样。

所以,为了解决这个问题,我在终端 (Mac) 中输入:

defaults write com.adobe.CSXS.8 PlayerDebugMode 1
defaults write com.adobe.CSXS.9 PlayerDebugMode 1
defaults write com.adobe.CSXS.10 PlayerDebugMode 1