Welcome Guest Search | Active Topics | Sign In | Register

ExecCommand(CommandIds.Copy) don't work on <PRE> tag Options
Eurice
Posted: Thursday, January 22, 2015 8:44:59 AM
Rank: Advanced Member
Groups: Member

Joined: 12/10/2014
Posts: 133
Hello EO support,

It seems there is a bug in the exceCommand - copy [ ExecCommand(CommandIds.Copy) ] it doesn't work everytime on <PRE> tag.
By the way if I use Ctrl+C shortcut it works fine.


You can test on http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_pre


Best regards
eo_support
Posted: Sunday, January 25, 2015 10:33:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Sorry about the delay. We have looked into this issue and found the root problem is because in this case the PRE element is inside a child iframe. ExecCommand is in fact ExecCommand on the top level frame, so it does not work for elements inside the child frame. We will see if we can expose the frame object so that you can directly specify which frame --- or default to the active frame. Once that supported, ExecCommand will work on the desired frames.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.