influxdata / influxdata/docs-v2

Code block Copy tool doesn't work in http://localhost:1313/influxdb3/cloud-dedicated/get-started/write/?t=v2+API

Open Beginner friendly
#6,444 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

In the code block for http://localhost:1313/influxdb3/cloud-dedicated/get-started/write/?t=v2+API, the Copy code control throws a console error:

```
code-controls.js:76 Uncaught TypeError: Cannot read properties of undefined (reading 'innerText')
at HTMLLIElement. (code-controls.js:76:28)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the code block at the provided InfluxDB Cloud Dedicated URL and reproduce the Copy code failure in the browser console. Start with code-controls.js at line 76, where the undefined innerText access occurs. Done means the Copy control copies the code successfully without a console error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
60/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.