Copy-paste styled text don't terminate correctly if at end of block

Describe the bug
Hi, When I copy and paste styled text from AnyType to another rich text editor (e.g. Google Docs) I get errors related to termination of text styles when they’re at the end of a text block. See the examples below (black source text in AnyType white pasted text in Google Doc):

Text style does not terminate if at end of block:

Text style terminates within block:

Text styles in bulleted list:

To Reproduce
Steps to reproduce the behavior:

  1. Create text block in Anytype.
  2. Place style on text at end of block.
  3. Copy - paste text from Anytype to another application

Expected behavior
Expect text styles to terminate even if at end of block

System Information:
OS: Linux (Ubuntu 20.04)
Anytype version: 0.24.0

Additional context
Add any other context about the problem here.


I confirm that this bug occurs in MS ⊞ Windows too.

1 Like