Closed dustout closed 3 years ago
Good work, your code looks great.
However, I'm sorry but I can't accept this pull request.
The reason is that I do not believe it is a good thing to marshal data from the Quill JavaScript component to the Blazor app on each quill.on('text-change'...
Thank You!
I agree that when users are typing a novel it would have a performance hit, but most users are just typing a comment and this change makes that flow work pretty smoothly.
Thanks anyways, and also big thanks for the blazored tools in general, your modal is leagues above the other blazor modals!
In case you change your mind I just pushed a bug fix where the bind was not properly setting the value
https://github.com/dustout/TextEditor/commit/9b8d297fe0c00298f0c00b011ec8ed0acc4a8727
@dustout You can fork the code and release your own version. Just use a different name for your project. Thanks!
Check out my (rejected) repo https://github.com/Blazored/TextEditor/pull/66. It binds the value when the quill editor looses focus (onBlur). Extensively tested, however there are 2 outstanding issues.
I added a sample project which demonstrates it usage.
@axedaddy - .Net 8 changes the way things are rendered. It may be possible to resolve these issues with .Net 8. It may be possible to resolve these issues by turning off prerendering or setting static rendering mode.
Added support for bind-value. This allows the editor to work closer to the way InputText and the other form components work