Need info about existing actions

Having trouble installing Oxygen? Got a bug to report? Post it all here.
shilpa
Posts: 68
Joined: Mon Jul 04, 2022 8:42 am

Need info about existing actions

Post by shilpa »

Hi Team,

In our project we have three actions in web author.
Cut, Copy and paste.

Could you please let us know in web author when we do ctrl+x, ctrl+c, and ctrl+v what actions are invoking?
So that we can implement the same for our icons on click.

Thanks
shilpa
Posts: 68
Joined: Mon Jul 04, 2022 8:42 am

Re: Need info about existing actions

Post by shilpa »

Hi Team,

Could you please update on this.

Thanks & Regards
Shilpa.P
mihai_coanda
Posts: 81
Joined: Wed Jul 20, 2016 8:22 am

Re: Need info about existing actions

Post by mihai_coanda »

Hello,
The action IDs used for the clipboard actions are 'Author/Copy', 'Author/Cut', and 'Author/Paste'.
Due to browser security limitations, you cannot invoke the Paste action from a user-click event. Yout will have to use the 'Author/PasteSpecial' action that displays a dialog to the user.
Best Regards,
Michael
Michael

https://www.oxygenxml.com
shilpa
Posts: 68
Joined: Mon Jul 04, 2022 8:42 am

Re: Need info about existing actions

Post by shilpa »

Hi Michael,

I have added action Id's as you specified. After adding the id's for copy and cut getting same display name.
Please find the below screenshot
image.png
Thanks & Regards
Shilpa.P
You do not have the required permissions to view the files attached to this post.
cristi_talau
Posts: 517
Joined: Thu Sep 04, 2014 4:22 pm

Re: Need info about existing actions

Post by cristi_talau »

Hello,

The Author/Cut and Author/Copy actions were designed to be invoked by shortcut. The actions that we normally present in the context menu are Author/CutSpecial and Author/CopySpecial. They have the proper UI elements configured.

Best,
Cristian
shilpa
Posts: 68
Joined: Mon Jul 04, 2022 8:42 am

Re: Need info about existing actions

Post by shilpa »

Thank you Cristian.. It's working
Post Reply