Open honzaadamec opened 2 months ago
The same. I found CursorStyle class. But this is the parameter for a QuillRawEditor.
I ran the example project of the repo an look at the results:
I opened Default:
The cursor has the right size in the existing text:
However if i write some text and adjust the size I have the same problem as you:
Also further down in the example, where the font changes in the line, the cursor size is wrong again:
Do you mean the issue itself (#1568)?
He means the issue itself for sure. Here is a little video which shows the issue in the repo using the example project. Video on Google Drive
I'll try to fix this when i have time. I need to fix some issues that are my priority and then i will fix this.
Fastest fix, add a property with cursor style to the QuillEditor.
Fastest fix, add a property with cursor style to the QuillEditor.
That's could not be the best solution. Fast fixes could come with bugs or unexpected behaviors that affect to the end users. We will fix this, but, we need some time to fix other more critical issues and then we will take a look on this types of issues.
最快的修复方法是向 QuillEditor 添加具有光标样式的属性。
这可能不是最好的解决方案。快速修复可能会带来错误或影响最终用户的意外行为。我们会修复这个问题,但我们需要一些时间来解决其他更关键的问题,然后我们才会研究这类问题。
Custom embed causes the cursor to become very large, and when scrolling beyond the screen, clicking makes it switch positions back and forth. Can you take a look at this together?
https://github.com/user-attachments/assets/4ff77d68-cd94-4ac4-9016-1ccf80979e83
Is there an existing issue for this?
Flutter Quill version
flutter_quill: ^10.1.5
Steps to reproduce
I tried on different platforms as linux, windows or web for example. Same result.
The same problem is on your git repo, where you have already some example for try. Same bug/issue there.
I tried to somehow make it on different way. I have found that here is some option of TextStyle. But it only work for paragraph. But it affected the height of the text overall.. so this is not good solution. When I need have line spacing same on different lines.
The other variation for example header. It totally ignore the fontsize. And set cursor with some default height.
Expected results
Expected result is to set cursor height base on font size in attributes of the controller.
Actual results
Cursor size not updating. Or there is not easy way to handle it.
Code sample
No response
Additional Context
Related #1568