[Improvment] Add disclaimer for the things not working in the live preview editing

オープン
#165 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 7 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
frontend

調査の方向性

Start by reproducing the three reported live preview behaviors in the Strapi website: exiting draft mode switches to the published version, formatting appears only after saving, and list items duplicate text. Use the linked video to compare the list behavior. Trace the preview editing flow and identify where draft state and rich text rendering diverge; done when edits, formatting, and lists display correctly in the preview before publishing.

索引モデルが issue の本文から書いたものです。

説明

  1. When I click to "Exit" button from the draft mode, in the strapi preview, the published version is displayed (which means I don't see saved draft anymore, even after hitting save button again).
    STR:
  • Open preview
  • Edit text in the component + see the live editation happening in the preview
  • Click "Exit" on the yellow banner in the preview window
  • Observe the version of the page displayed in the preview mode is now the published version
  • Try to edit text + save
  • Observe the changes are not displayed in the preview anymore
  1. The styles and formatting of the text are displayed only after save (e.g. bold).

  2. Lists (bullets, numbers) breaking the text component in the preview (the text is displayed again with each bullet in the component). It fixes once published.
    https://jam.dev/c/4737742a-1010-4c81-bfed-2746ee5b0011 - see the behaviour in the video.
    STR:

  • Add bullet point into the component
  • Write
  • Observe text being duplicated
  • Add another bullet point
  • Observe text being triplicated.
主要言語
TypeScript
スター
6
フォーク
5
平均マージ
5日 6時間
マージ済み PR(30日)
7

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

strapi/website のほかの issue

strapi/website の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。