Blazored / TextEditor

Rich text editor for Blazor applications - Uses Quill JS
MIT License
277 stars 61 forks source link

When activating an effect and typing, after the first letter it jumps back #35

Closed Sahara150 closed 3 years ago

Sahara150 commented 3 years ago

So to reproduce, you simply need to insert a basic editor. When you click e.g. on bold before typing, it obviously colors bold as blue. But after you typed the first letter, your cursor starts in front of it again. Resulting in weird words like

uler instead of rule

I appended an example, where you can see, that I activated bold and italic, then typed an "I" and without doing anything the cursor jumped in front of it. example

ADefWebserver commented 3 years ago

This may be a bug in the underlying Quill editor. The component is just a wrapper around Quill.js You can pull down the source of this component, and replace the contents of this file (Quill builds are available for direct download at this link):

https://github.com/Blazored/TextEditor/blob/main/src/Blazored.TextEditor/wwwroot/Blazored-BlazorQuill.js

To see if that resolves your issue.

Thank You