Strange caret behavior #1873
Replies: 15 comments 1 reply
-
Any progress on this? It's one of the things that keeps me from using the library as it's super un-intuitive. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this issue? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Absolutely, this issue is valid to improve UI. |
Beta Was this translation helpful? Give feedback.
-
In my project I have solved this problem for another block editor. I am checking every possible caret position and detect closest one for jump. On picture red is current caret, blue is candidates and green is a closest position for caret. There is also some optimisation like line break detection, because there may be 2000 lines and its too much to check every possible caret position. So it is a solution, it works fast enough and I am ready to share some production code and explain this more. If you (EditorJS team) are interested, write me https://t.me/grimalschi |
Beta Was this translation helpful? Give feedback.
-
Great! |
Beta Was this translation helpful? Give feedback.
-
Determining caret position when DOWN key pressed: |
Beta Was this translation helpful? Give feedback.
-
Awesome! We'll check it |
Beta Was this translation helpful? Give feedback.
-
@grimalschi Is there anyone who can resolve this good feature? |
Beta Was this translation helpful? Give feedback.
-
Are
If |
Beta Was this translation helpful? Give feedback.
-
I did it! 🎉 |
Beta Was this translation helpful? Give feedback.
-
Nice. I found some bugs using Safari (Version 14.0.2 (16610.3.7.1.9)) related to the marker. Situation: Hitting the down arrow key in a line which also contains a marker. Situation: Hitting the down arrow key while caret is inside a marker. Situation: Hitting the up arrow key while caret is in approx. second half of last line of a block which also contains a marker. Please see attached a video of the first two issues. Bildschirmaufnahme.2021-02-16.um.10.24.41.mov |
Beta Was this translation helpful? Give feedback.
-
@alexanderjulmer @neSpecc |
Beta Was this translation helpful? Give feedback.
-
This bug occurs as Umm... I can't know why this bug occurs in |
Beta Was this translation helpful? Give feedback.
-
Did this project dead? |
Beta Was this translation helpful? Give feedback.
-
Hello! When I press "Down" many times, I'm getting strange caret behavior.
What i expect:
What I get:
Any plans to fix this?
Beta Was this translation helpful? Give feedback.
All reactions