Closed LizardTechDev closed 6 years ago
Hi. Thanks.
Two things I would check
In the future I will release a revamped UI for the plugin that includes a console for quick chrome debugging. Try to answer my questions first
Indeed, I was trying to run this from the webpack dev server rather than thru Photoshop. I've since moved my event down into Session.js (where CSInterface is already in-use) and all is well. Thank you for you prompt reply and great work on this project.
I'm trying this out and the front-end went really well. Kudos! However, now I'm trying to communicate back to a native C++ Photoshop Plugin using a CSEvent provided in CSInterface.js from App.tsx. I'm relatively new to React, JS and CEP, so I'm guessing this is probably something stupid on my end. When I run this code I get a
Uncaught TypeError: _CSInterface.CSEvent is not a constructor
import {CSEvent, CSInterface} from '../libs/CSInterface.js'
; ...