Changelog
InDesign v18.5
UXP Plugins are now available! Get started here.
UXP v7.1
New
HTMLElement now supports
Updated
- Documentation for
shell
moved to new location
Fixed
SVGElement
: The color of thefill
attribute using a CSS variable will resolve as per the variable value. For now, please test this fix by enabling the feature flag in your plugin manifest"featureFlags" : { "enableFillAsCustomAttribute" : true }
. This flag will be turned on by default in the next UXP release.
Copied to your clipboard// CSS variablehtml {--iconColor: yellow;}<svg height="100" width="100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="var(--iconColor, red)" /></svg>// shows a yellow circle
UXP v7.0
New
- Support for Web Components in UXP Plugins. Various HTML elements and methods have been added to support this feature.
- Spectrum Web Components (Beta) Support for Adobe SWC.
- Several augmentations to the JS API set
- Properties
- Classes added to the global scope
- Methods
- New focus events to support React 16
- HTML 2D Canvas Support for basic shapes and styling.
- Alerts
- Support for pipeThrough and tee in ReadableStream. Refer to Streams for more details
- ImageBlob to render an uncompressed image buffer in UXP
Changed
- HTMLVideoElement: 'metadata' is the default value for
preload
attribute - FS API: No need for the
file://
protocol
InDesign v18.4
InDesign APIs
Added
- [BREAKING CHANGE] Mounting APIs
InDesign DOM APIs are no longer available in the global scope. You must mount the APIs first before using them. Plus, you can now access different versions of DOM APIs. - Events
UXP scripts now have the functionality to handle standard events that InDesign emits. You can use the eventListenerobject to catch such events. - Arguments in UXP Scripts
Arguments can now be passed to a UXP script, and can be used within the script. - Setting script result
UXP scripts now have a "result" associated with them. Set a result for a script for debugging puposes as well as passed to another script for utilization. - Menus
UXP scripts now have APIs which can be used to add new menu items, remove existing menu items etc. Read more.