Adobe Extension Development
-
Exchange Program 入口頁 - https://partners.adobe.com/exchangeprogram/creativecloud.html
-
Extension 用戶入口頁 - https://exchange.adobe.com/
-
Minimal File Architecture
- (root/static/)
- CSXS - manifest.xml: extension information
- index.html: landing page. file name / location can be changed and is specified in manifest.xml
- .debug: debug information
- app.js - host js. file name / location can be changed and is specified in manifest.xml
- 若需要與 host app 互動 ( AI, PS, etc ) 則需要在 main html 引入 CSInterface.js
- CSInterface.js 可在 CEP-Resource 中對應的 CEP 版本中找到
- (root/static/)
-
Test Extension
- ln -s ~/Library/Application\ Support/Adobe/CEP/extensions/your-extension/ static/
- for windows: {User}\AppData\Roaming\Adobe\CEP\extensions
- open localhost:8089 or the port specified in .debug file.
- 考慮內置 iframe 來做快速開發
- ln -s ~/Library/Application\ Support/Adobe/CEP/extensions/your-extension/ static/
-
Enable Test / Debug Environment
-
reference: https://medium.com/@jolg42/78921802e248
-
Abbr stands for:
- CEP: Common Extensibility Platform
- CEF: Chromium Embedded Framework
-
enable debug mode.
-
mac: defaults write com.adobe.CSXS.8 PlayerDebugMode 1
-
win: in regedit > HKEY_CURRENT_USER/Software/Adobe/CSXS.8, add new entry "PlayerDebugMode", type string, value 1
-
-
Deploy
- TBD
-
Versioning
- CEP Version vs Host App Version https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_8.x/Documentation/CEP%208.0%20HTML%20Extension%20Cookbook.md#applications-integrated-with-cep
- CEP / CEF / Chromium Version: https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_9.x/Documentation/CEP%209.0%20HTML%20Extension%20Cookbook.md#chromium-embedded-framework-cef
-
Issues
- Issue about Chrome Remote Debugging
- community.adobe.com/t5/get-started/debug-console-not-working-correctly/td-p/9608300
- multiple extensions using the same port
- need older chromium. find some here:
- community.adobe.com/t5/get-started/debug-console-not-working-correctly/td-p/9608300
- Ajax Call
- Looks like there are issues making https ajax call in extension:
- Issue about Chrome Remote Debugging