Describe the bug
Anytype creates a new page but the new page is NOT empty.
Steps to reproduce the behaviour:
- (as you can see in the video) I typed a ‘/’.
- Then I typed “page”.
- I pressed the “Enter Key”.
- A new page was created but it’s NOT empty.
Anytype must create an empty page. Like it used to do before.
- OS: Ubuntu 20.04.4 LTS
- Device Manufacturer/Model: ASUS K540 UB
- Anytype Version: 0.26.1
This behaviour happened when after I did something.
I had a markdown file which was not from Notion. I just thought that when markdowns from Notion are accepted, maybe that markdown gets accepted too. So I did this: File → Import → Notion → Import data and I chose my markdown (Even though the markdown was not from Notion, Sorry). And nothing happened, and no progress bar appeared. And after some time I wanted to turn off my laptop. But Anytype didn’t get closed. So I had no choice but to turn off my laptop despite the fact that Anytype is not closed. The problem I’m reporting happened after this event.
@Haieri thanks for posting! Could you check whether you have edited the template in Anytype for the Page Object type?
- Open Anytype on the desktop and open the Library
- Locate the Page type under the Types
- See whether a template is defined
If so, check whether the contents of that template match what you see whenever you make a new page. If that is the case, you are seeing the intended behavior. If not, you found a bug!
Dear @sambouwer, Thank you for being a valued member of Anytype community.
I checked what you wrote. You were correct. And also the context did match.
Despite the fact that I haven’t ever created a template for pages, there was a template.
I deleted that and now my problem is solved.
Thanks for your assistance.
Thanks for the quick check and confirmation, and happy to help!
Could it be that at any point in time you (by accident?) clicked the "use as template option?
This takes the current instance (=Object) of an Object Type and saves it as a Template. You can test this yourself:
- Create a new Object of any kind of Object Type. Click “Open type”
- See whether there are any Templates saved for your Object Type
- Go back to your Object
- Click “Use as a template”
- Notice how the Object Type now says “template”
- Go back to your Object Type and see that there is now one (more) Template saved
Thanks for clear steps you replied. I checked them.
The way you mentioned for creating and seeing templates worked for me.
And as you said, I may “accidentally” have pressed the “Use as a template” option, because I can’t remember I have done that intentionally.
I appreciate your help. Thank you.