Initial code in embedded live editor not printable across various browsers and not exportable to PDF in Safari
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
React.dev のドキュメント例で使用されている埋め込みライブエディターを特定し、まず Chrome、Firefox、Safari での印刷を再現します。これには Safari での PDF エクスポートも含まれます。完了の条件は、印刷時に初期コードが表示され、Safari で PDF にエクスポートできることです。この issue には実装の指針となるファイル名やテストは記載されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100