WHAT IS THE BUG
When pasting several lines text from a TextEditor into Anytype Desktop, it creates one big block for the several lines I’ve pasted. That’s not the bug though. When i split the one block into several blocks - one for each line of text - everything looks fine on desktop. There are no empty blocks between the text blocks. But when switching to iOS, each block renders with a strange new line. It only disappears when manually deleting it or hitting enter and delete after each block.
HOW TO REPRODUCE IT
- Copy this text into Anytype.
(1) lorem ipsum dolor sit amet.
(2) lorem ipsum dolor sit amet.
(3) lorem ipsum dolor sit amet.
- Place cursor before “(2)” and split the block by hitting enter. Place cursor before “(3)” and split the block by hitting enter. Now you end up with three blocks.
- Check, that on Desktop everything looks fine and there are no empty blocks between the text blocks.
- Switch to iOS and see a strange new line after the first two blocks.
- I was able to provide you a video capture of the bug, here it is:
THE EXPECTED BEHAVIOR
I would expect no new line on iOS that i have to manually delete.
SYSTEM INFORMATION
-
OS:
iOS 16.3
MacOS Ventura 13.2 -
Device:
iPhone 11
MacBook Pro M1 -
Anytype Version:
Version 0.20.0
Version: 0.30.0
ADDITIONAL CONTEXT
I think this has something to do with the way Anytype Desktop splits up pasted text. Maybe there is still some underlining format of the text left, that only renders on iOS.