Changing card block text style will remove card preview menu

Describe the bug
When creating a new card block in a page (‘page’ or ‘note’), you can change Appearance by clicking the bar icon on the left (3 dots), and select text or card. However, once the text style of the card block is changed, the Appearance option disappears, and card mode can no longer be modified through “Preview” menu.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new page link (Card block)
  2. Click on the three dot menu, the Preview option is avalible
  3. Change the text style (ex. heading)
  4. Click on the three dot menu, the Preview option is not longer avalible

System Information:

  • OS: Windows 10 21H1
  • Device Manufacturer/Model: Intel i7 10th, RTX 2060, laptop
  • Anytype Version: 0.26.1
Additional context

Additional context
This involves two aspects:

  1. Changing the text style of a page block doesn’t seem to change the type of the block, so what people can do with the block shouldn’t be changed. However, in fact, when you click the bar icon on the left for the page block created for the first time, you can choose Appearance and without the Turn into Object option; it seems unreasonable to display Turn into Object and without the Appearance option for the page block whose text style has been changed;
  2. Initially I hoped to solve the problem by clicking Turn into Object to turn the page block back into a page (although it was originally a page), but I found out that the Turn into Object option actually does the job is creating a new page with the same title as the page block , and move this page block to the new page. I’m not a native English speaker, but in my understanding this operation should be “Put into Object” but not “Turn into Object”.

Still reproducible on Windows 11 @ v0.38.3 alpha.

1 Like

I can confirm this bug on Windows 11 with Anytype version 0.26.21-alpha

Will be done as a part of new designs for object links, thanks for report


Still reproducible on Windows 11 @ v0.38.3 alpha.