Arrow "->" conflicts with text color

WHAT IS THE BUG

When adding an arrow like → or ← to a block, color formatting might be shifted by a character.

HOW TO REPRODUCE IT

  1. Write a sentence and use text color for some words
  2. Insert arrow in between words
  3. See that the color formatting of the words after has shifted.
  4. I was able to provide a video capture (or screen-shot) of the bug, here it is:

THE EXPECTED BEHAVIOR

Color formatting should stay the same.

ADDITIONAL CONTEXT

Similar issue: Spell check conflicts with text color

SYSTEM INFORMATION

  • Device:
    MacBook Pro M1
  • OS:
    Sonoma 14.0
  • Anytype Version:
    Version: 0.34.3

This should be already fixed in main.

@Razor You’re right! I just checked and it’s indeed fixed. :+1:

However, this very similar issue still happens. Maybe you can fix it the same way :eyes:

1 Like

Yes, but this is not the same, I’ll look into this when I’ll have some spare time.

2 Likes