Code block can be created as centered but alignment can't be changed

WHAT IS THE BUG

When creating a codeblock in an already centered block, the code block is created as centered although code blocks should always be left aligned.

HOW TO REPRODUCE IT

  1. Center a block
  2. Create a code block via /code.
  3. See that the block is still centered and can’t be changed
  4. I was able to provide a video capture (or screen-shot) of the bug, here it is:

THE EXPECTED BEHAVIOR

The centered alignment should not be allowed and left alignment should be the only option - at least at current stage to stick with the already implemented design decissions.

SYSTEM INFORMATION

  • Device:
    MacBook Pro M1
  • OS:
    Ventura 13.3.1
  • Anytype Version:
    v.0.31.0

ADDITIONAL CONTEXT

Also happens in the latest version: 0.31.48

1 Like

@jannis is this issue reproducible in the latest Nightly build?

If so, even though it’s also in the stable release and therefore should be reported in this category, it’s still preferable to indicate the latest build it is present in.

You can add this info to “Additional Context::slight_smile:

Thanks!

1 Like

Thanks for the heads up @Angelo! :slight_smile:

I added the additional info. It happens in 0.31.0 as well as in 0.31.48

This report has been added to our issue tracker and received by the Development Team.

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

Fixed in version: 0.31.56-beta

1 Like