Editor writes content backwards when enclosed within Blazorise Validations component
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- html
- Ambito
- frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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";
}
- Lingua principale
- HTML
- Stelle
- 57
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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.
Altre issue di tinymce/tinymce-blazor
-
status: escalated
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 42/100
tinymce/tinymce-blazor#89 · 3 commenti · 7 reazioni ·
-
bug status: escalated
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
tinymce/tinymce-blazor#83 · 5 commenti ·
-
Clarity on ScriptSrcApertadocumentation GitHub status: escalated
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 35/100
tinymce/tinymce-blazor#70 · 4 commenti · 1 reazione ·
-
Editor not loadingApertaGitHub
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
tinymce/tinymce-blazor#59 · 8 commenti ·
-
Debounce/delayApertaenhancement GitHub
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
tinymce/tinymce-blazor#58 · 2 commenti ·
Tutte le issue di tinymce/tinymce-blazor
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
vetro-protocol/vetro-monorepo#1321 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Action playback and Record Again still open Convert to Frame with the old 1 to 300000 integer fields and no unit readingForse già presa @Higgs32584 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
storytold/photocraft#20578 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bugfix
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno