flutter-quill icon indicating copy to clipboard operation
flutter-quill copied to clipboard

Incorrect cursor location in the QuillEditor when using timeStamp embed in the example

Open demoYang opened this issue 2 years ago • 6 comments

Incorrect cursor location in the QuillEditor when using timeStamp embed in the example

steps to encounter the issue:

  1. Run the example
  2. click the clock icon to add a timestamp ( top-left of navbar )
  3. Click undo button in the toolbar;
  4. Click the redo button in the toolbar
  5. repeat steps 3 and 4

you will find the location of the cursor is an error

I think the location of the cursor should be the end ; Run quill example, add a timestamp, then click undo-redo, cursor location error

Simulator Screen Recording - iPhone 14 - 2023-10-10 at 19 56 11

demoYang avatar Oct 10 '23 11:10 demoYang

Thank you for the report, can you explain where we should add the timestamp to encounter this issue??

EchoEllet avatar Oct 24 '23 00:10 EchoEllet

@freshtechtips nav bar , click clock icon, add timestamp

demoYang avatar Oct 30 '23 02:10 demoYang

@freshtechtips nav bar , click clock icon, add timestamp

I'm late but can you tell me what will happen in that case?? What did you find in the log?? What is the expected behavior and the current

EchoEllet avatar Nov 06 '23 22:11 EchoEllet

@freshtechtips
1.run example 2.click clock icon to add timestamp ( top-left of navbar ); 3.click undo; 4.click redo repeat 3&4
you will find the location of cursor is error;

i think the location of cursor should be end ;

by the way , i'm not good at english;

demoYang avatar Nov 07 '23 08:11 demoYang

@freshtechtips
1.run example 2.click clock icon to add timestamp ( top-left of navbar ); 3.click undo; 4.click redo repeat 3&4
you will find the location of cursor is error;

i think the location of cursor should be end ;

by the way , i'm not good at english;

Thanks, neither I'm

EchoEllet avatar Nov 07 '23 09:11 EchoEllet

I think this issue is related to howRawEditor works, don't worry we will try to fix it but it might takes some time

EchoEllet avatar Nov 07 '23 10:11 EchoEllet