Adobe-CEP / CEP-Resources

Tools and documentation for building Creative Cloud app extensions with CEP
https://www.adobe.io/apis/creativecloud/cep.html
1.63k stars 834 forks source link

CEP 11 - Copy Paste issue in Adobe CEP Extension on Mac OS X Big Sur and above. #433

Open pandurang-vadane opened 2 years ago

pandurang-vadane commented 2 years ago

We are facing issue while doing copy paste operation inside the input field in CEP extension on Adobe InDesign 2022. We observed this for the web application loaded inside the iframe. I can manually type into the text frame.

Is there any idea why we are seeing this behaviour? Any help will be highly appreciated.

OS - macOS Big Sur version 11.5.2 InDesign CC 2022 CEP 11

FW copy paste issue

kareemmyk commented 2 years ago

@pandurang-vadane ..... We are unable to reproduce the issue. See the attached video Could you let us know the exact CEP version and please share the extension?

https://user-images.githubusercontent.com/34368858/162125003-5e7732b1-5e94-4a7f-87d7-cd4b238192f0.mov

cc: @sujaisivanandan

zwettemaan commented 1 year ago

I experience the same problem, both on Mac and Windows. One important aspect might be that the web content displayed in the panel is served into an iframe from a web server, rather than from a local HTML file. The CEP HTML Test Extension is all local HTML, whereas I see the issue when I have HTML that originates https://somewhere.else/whatever/stuff. I suspect it is some kind of security 'blockage'.

zwettemaan commented 1 year ago

So, the key differences to look out for:

zwettemaan commented 1 year ago

Further detail: using the contextual menu (right-click, 'Paste') does not work on either platform.

Ctrl-V on Windows works.

Command-V or Ctrl-V on Mac does not work.

So, it's not clear cut: you can still paste on Windows as long as you use a keyboard shortcut.

On Mac, I am unable to paste.