Editor writes content backwards when enclosed within Blazorise Validations component
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- html
- 領域
- frontend
調査の方向性
Start with the linked TinyMceBackwardsRepro repository and reproduce the issue using the Blazorise Form and Validations components shown in the issue. Trace how the editor handles bind-Value and Field updates when validation runs; the issue reports the cursor returning to the start on each keypress. Done means typing keeps the cursor in place and text appears in the intended order.
索引モデルが issue の本文から書いたものです。
説明
Hi, I have run into a very strange issue when using the component inside Blazorise.
Steps to repro (also see repro link here - https://github.com/gdunit/TinyMceBackwardsRepro)
- Create Blazorise Form then Validations components
- Embed the editor within the Validations (this is required in my solution due to structure of components)
- Editor is configured to use bind-Value and Field properties
- When the editor is focused, any keypress results in the cursor being returned to the start of the editor and therefore text appears 'backwards' when typed. I strongly suspect this is because of the editor being refocused on each keypress due to something that is triggered by the validation checking.
<Form>
<Validations Model="@this" ValidateOnLoad="false">
@*This TextEdit just here to demonstrate relationship to other components in form*@
<Validation>
<Field>
<TextEdit @bind-Text="SingleLineText">
<Feedback>
<ValidationError/>
</Feedback>
</TextEdit>
</Field>
</Validation>
<Editor Field="@(() => TinyMceRichText)" @bind-Value="TinyMceRichText"></Editor>
</Validations>
</Form>
@code{
[Required]
public string? SingleLineText { get; set; }
public string? TinyMceRichText { get; set; } = "Hello";
}
- 主要言語
- HTML
- スター
- 57
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tinymce/tinymce-blazor のほかの issue
-
status: escalated
難易度 1/5 1時間未満 初心者へのやさしさ 42/100
tinymce/tinymce-blazor#89 · コメント 3 件 · リアクション 7 件 ·
-
bug status: escalated
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
tinymce/tinymce-blazor#83 · コメント 5 件 ·
-
Clarity on ScriptSrcオープンdocumentation GitHub status: escalated
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
tinymce/tinymce-blazor#70 · コメント 4 件 · リアクション 1 件 ·
-
Editor not loadingオープンGitHub
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
tinymce/tinymce-blazor#59 · コメント 8 件 ·
-
Debounce/delayオープンenhancement GitHub
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
tinymce/tinymce-blazor#58 · コメント 2 件 ·
tinymce/tinymce-blazor の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
vetro-protocol/vetro-monorepo#1321 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Action playback and Record Again still open Convert to Frame with the old 1 to 300000 integer fields and no unit reading対応中かも @Higgs32584 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
storytold/photocraft#20578 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bugfix
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信