You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When going up starting from a single line node to a multiline node the caret goes in the first line of the multiline node instead of the last. The reason is that the current calculation of the skip value does not take into account the editorStyle's global set in the AppFlowyEditor parameters. (Previously it uses only the padding of the node).
How to Reproduce
Press the up key in a single line node when above it there is a multiline node.
Expected Behavior
The caret should go in the last line of the multiline node.
Hi @LucasXu0
Sorry, I forgot to mention that you should add a little bit of padding in AppFlowyEditor.editorStyle.
If you are running the example app. This is my updated _buildDesktopEditorStyle function:
If somehow with this update you still can't reproduce the bug try adding a little bit more vertical padding.
Otherwise let me know and i'll record a short video showcasing the bug.
Hope it helps!
Bug Description
When going up starting from a single line node to a multiline node the caret goes in the first line of the multiline node instead of the last. The reason is that the current calculation of the skip value does not take into account the editorStyle's global set in the AppFlowyEditor parameters. (Previously it uses only the padding of the node).
How to Reproduce
Press the up key in a single line node when above it there is a multiline node.
Expected Behavior
The caret should go in the last line of the multiline node.
Operating System
MacOS
AppFlowy Editor Version(s)
2.3.4 (ref: d9e6178)
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: