Callout Block Rendering and Behavior Issues

WHAT IS THE BUG

When using Shift + Enter at the end of an inline code block, the new line incorrectly starts with the last character of the previous line shifted left

The last character of an inline code block on the second line of a callout cannot be highlighted or shaded

Enter at the end of a callout creates a new callout block instead of a standard text line

HOW TO REPRODUCE IT

  1. Create a callout block

  2. Input normal text on the first line

  3. On the second line, type “abc” and format it as an inline code block

  4. Attempt to use Shift + Enter at the end of the text “abc|”

    • Result: New line starts with “c|”, and the second line becomes “ab”
  5. Apply shading/color to the inline code block on the first line

    • Result: The shading works as usual
  6. Apply shading to the inline code block on the second line

    • Result: The last character cannot be shaded
  7. Press Enter at the end of the callout section

    • Result: Creates another callout instead of a normal text line

THE EXPECTED BEHAVIOR

  1. New lines should create a clean break without shifting 1 character
  2. Inline code should be fully shaded/highlighted
  3. Pressing Enter should exit the callout and create a normal paragraph

TECHNICAL INFORMATION

OS version: win32 x64 10.0.19045
App version: 0.54.13-alpha
Build number: build on 2026-03-06 17:05:37 +0000 UTC at #6062d8267efa31694ce808a995d709303f1d230e
Library version: v0.49.0-rc03
Anytype Identity: A7X93RmKBZcBGkkswkvVxZdc7FYZCZJnRzCYDiP8LXy224GR
Analytics ID: 5d1b491b-d915-4280-b6e2-53ec23541d03
Device ID: 12D3KooWB2nXZECSTGxyK8aGXbecqNfeWx9eJdtPxtHNjLwnpfzy
Ethereum Address: 0x44838B68C40DFd05f216a4E8F4c0b6b8d403dE0d

This report has been added to our tracker and received by our team.

Upgrade to 0.5.16-alpha

  • Enter not creates another callout anymore, as expected :+1:

  • Last character still can’t be shaded

    image

  • Newline after second and the follow-up lines start with left shift 1 character

image

Just found an even weirder issue, sudo ntpdate $IP shift not only 1 character but 2

This issue has been fixed by the Development Team and will be implemented in an upcoming release.

Confirmed that issue about inline code block issue in callout and highlighted been fixed at 0.54.21-alpha, thanks :+1: