toeverything / blocksuite

🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.
https://blocksuite.io
Mozilla Public License 2.0
4.34k stars 395 forks source link

Allow to rename Doc Title #7770

Open mirtaqi07 opened 1 month ago

mirtaqi07 commented 1 month ago

Currently, we can't rename the document title, once created. It'd easy to remember which doc have what content, if the title can be edited.

Looking Forward!

fourdim commented 1 month ago

Do you mean the title on the tab bar?

mirtaqi07 commented 1 month ago

I made some changes yesterday, and here is the updated version:

blocksuite
fourdim commented 1 month ago

Oh, it's playground. The one you have shown is for debug purpose, and we don't have plan to improve it. However, PRs are welcomed!

mirtaqi07 commented 1 month ago

Sure, I'll work on PR.

Btw, when I build the blocksuite using pnpm build, the build was successful. Its just blank page when I open D:/blocksuite/packages/playground/dist/index.html. Can you help figure out this?

fourdim commented 1 month ago

You might want to use pnpm preview to preview the built files as it will serve as a web server. Opening files directly have several restrictions: if I remember correctly, it will treat js files as non-executable plain text. You can also utilize other web servers such as miniserve to preview these files.

mirtaqi07 commented 1 month ago

Updated: Its the same as pnpm dev. Its working great but I'm trying to put it live. Thought, I should first build the static files pnpm build.

What are the steps to host it? Because I've tried and it fails.

mirtaqi07 commented 1 month ago

@fourdim Can you help me regarding this, kindly?

fourdim commented 1 month ago

https://medium.com/startit-up/how-to-host-and-deploy-your-frontend-projects-5a064a95370c

Or search for How to host a frontend project/static website for more.