Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.63 KB

readme.md

File metadata and controls

41 lines (23 loc) · 1.63 KB

Example of Photoshop and InDesign UXP Plugin that shows how to develop multi-panel with Vanilla JS

developing multi-UXP-Panel with Vanilla JS is bit tricky. so I show you how to develop it.

summary

  1. write about panels on manifest.

  2. call entrypoints.setup method on JS and register panels you declared on manifest.

  3. on HTML any element only appeared on the panel you declared first. you can't see anything on other panels.

  4. adding HTML element on body element through JS won't work as you image as well.

  5. adding uxp-panel Web Component on HTML and writing inside of It or each panel can receive their own scope element. see more detaills on this example.

Note

on InDesign, you must open panels from the "plugin panel". you should not open the panel from top of the menu. select from top of the menu, then open panels display same contents on all of panels.

from menu

select from plugin panel, it shows contents properly.

from plugin panel

I checked on InDesign 19.2. I hope this'll be fixed soon.

References

Multiple panels from a single CCX?

creativeclouddeveloper forum: Manifest 5 - 2 panels in same plugin?

creativeclouddeveloper forum: Multiple panels without web components

alchemist code