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.
Steps to reproduce the behavior:
- Create a new page link (Card block)
- Click on the three dot menu, the Preview option is avalible
- Change the text style (ex. heading)
- Click on the three dot menu, the Preview option is not longer avalible
- OS: Windows 10 21H1
- Device Manufacturer/Model: Intel i7 10th, RTX 2060, laptop
- Anytype Version: 0.26.1
This involves two aspects:
- 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;
- 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.