Initial code in embedded live editor not printable across various browsers and not exportable to PDF in Safari
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 11.8k
- Fork
- 7.9k
- Merge medio
- 1g 11h
- PR unite (30g)
- 11
Descrizione
Issue description:
When attempting to print the initial code present in the embedded live editor within the React.dev documentation, the code appears blank in Chrome, Firefox, and Safari. Additionally, the initial code is not exportable to PDF in Safari.
Having the ability to print or export the initial code as a PDF would allow users to read the documentation without a screen and try the code in their local environment using their preferred IDE, such as vscode, without the need for a second screen.
It's important to note that the Vue.js live editor supports printable initial codes.
Steps to reproduce:
- Open the React.dev documentation with embedded live editor examples in Chrome, Firefox, or Safari.
- Navigate to a page containing an embedded live editor with initial code.
- Try to print the page or export it to PDF in Safari.
Expected behavior:
Initial code in the embedded live editor should be printable across different browsers and exportable to PDF in Safari.
Actual behavior:
- Initial code in the embedded live editor is not printable in Chrome, Firefox, or Safari.
- Initial code in the embedded live editor is not exportable to PDF in Safari.
Suggested solution:
Please consider adding support for printing and exporting the initial code in the embedded live editor within the documentation. This would make it more convenient for users who prefer to read the documentation without a screen and only use their IDE when trying out the code.
Additional information:
Comparatively, the Vue.js live editor supports printable initial codes in the mentioned browsers.
Thank you for looking into this issue. Please let me know if you need further information or clarification.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Individua l’editor live incorporato utilizzato negli esempi della documentazione di React.dev e riproduci innanzitutto la stampa in Chrome, Firefox e Safari, inclusa l’esportazione in PDF in Safari. Il lavoro è completato quando il codice iniziale è visibile durante la stampa e può essere esportato in PDF in Safari; l’issue non indica file o test che guidino l’implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, react
- Ambito
- documentation, frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100