org-html-themes icon indicating copy to clipboard operation
org-html-themes copied to clipboard

SRC source code [copy] event won't work with bigblow

Open olberger opened this issue 3 years ago • 3 comments

I couldn't manage to make the [copy] event to be triggered on src code blocks with bigblow (the "zclip" stuff).

In firefox, nothing will happen.

In Chromium I'll even have some weird icon displayed partly masking the [copy] text :-/

Thanks in advance.

olberger avatar Aug 22 '22 14:08 olberger

True that that code almost 10 years old is... May not be working with current browsers anymore...

I won't have time to look at that; but would you, and would you have a PR, it'd be welcomed!

fniessen avatar Aug 22 '22 16:08 fniessen

One may have a look at #156 which may improve the situation...

Hth,

olberger avatar Aug 22 '22 16:08 olberger

The use of document.execCommand() is deprecated. I'm currently on this issue with the new navigator API.

TurboHolmes avatar Dec 08 '22 03:12 TurboHolmes