Comments (4)
@sites21 Can you provide your code or even better a live example?
- What browser are you using?
- What OS are you using?
- What version of highlightjs?
from highlightjs-copy.
@sites21 Can you provide your code or even better a live example?
- What browser are you using?
- What OS are you using?
- What version of highlightjs?
After my test, I found that the reason is as follows: navigator.clipboard is invalid in the http state
from highlightjs-copy.
@sites21 Can you provide your code or even better a live example?
- What browser are you using?
- What OS are you using?
- What version of highlightjs?
I`m use Gulp for it. And this is periodically doesnt'work. Also tried with cdn. The same thing
- Chrome
- Windows
- Latest
Now it works. But I don't know why. Sorry for latest answer
from highlightjs-copy.
Closing this ticket, please re-open if you’re still having issues with later releases.
from highlightjs-copy.
Related Issues (12)
- TypeScript Support HOT 6
- This library does not work HOT 13
- Uncaught ReferenceError when importing in browser environment HOT 5
- Copy icon for lighter themes
- Support for ReactJS
- Just copy one line HOT 1
- Nextjs13 - ReferenceError: self is not defined HOT 1
- The first line is a Redundant Blank line HOT 4
- Change Inner Text "Copied!" when click copy button HOT 2
- how to import highlightjs-copy in js file after npm install HOT 2
- License
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highlightjs-copy.