Underline is not transferred upon copy and paste

Describe the bug
When copying and pasting from a document, the underlined text present within it is not preserved. However, other text styling, such as bold text and italicized text is preserved - it’s just underlined text that is not.

To Reproduce
Steps to reproduce the behavior:

  1. Type some underlined text in a text editor that Anytype supports pasting text styling from, such as TextEdit and HTML. Google Docs doesn’t seem to support transferring any text styling at all.
  2. Paste it into Anytype.
  3. Observe the behavior.

Expected behavior
Like the italic and bold text styling, I expected the underline text styling to also be preserved upon copy and paste.

System Information:

  • OS: MacOS 12.5
  • Device Manufacturer/Model: MacBook Air M1 2020
  • Anytype Version: 0.27.0

I experience the same bugs, and have encountered other unusually restrictive copy & paste behavior to/from Anytype to/from other text editors as well. It is especially problematic when dealing with multiple blocks of text, I have brought it up to the team before.

I can confirm your report:

  1. Pasted text is not underlined, but all other formatting is fine.

  2. Copying from Google Docs does not preserve any text formatting at all.