New LaTeX block does not keep alignment

WHAT IS THE BUG

When creating a LaTeX block, it is always left-aligned, ignoring my previously set alignment.

HOW TO REPRODUCE IT

  1. In a new block, type “/center” to set the block center-aligned.
  2. Then in the same block, type “/latex” to make it a LaTeX block.
  3. The LaTeX block is always left-aligned.
    I cannot type “/center” in the source editing box to set alignment. I have to click on the left bar and manually choose “Alignment” and choose “Align center”.

THE EXPECTED BEHAVIOR

The new LaTeX block automatically set to center-aligned.

SYSTEM INFORMATIONS

  • OS:
    Windows 11
  • Device:
    Lenovo Air 14
  • Anytype Version:
    0.29.1

ADDITIONAL CONTEXT

None.

Btw please change some “LaTex” into “LaTeX” in the app.
图片

1 Like