Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to rename Doc Title #7770

Open
mirtaqi07 opened this issue Jul 30, 2024 · 8 comments
Open

Allow to rename Doc Title #7770

mirtaqi07 opened this issue Jul 30, 2024 · 8 comments

Comments

@mirtaqi07
Copy link

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
Copy link
Contributor

fourdim commented Jul 30, 2024

Do you mean the title on the tab bar?

@mirtaqi07
Copy link
Author

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

blocksuite

@fourdim
Copy link
Contributor

fourdim commented Jul 31, 2024

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
Copy link
Author

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
Copy link
Contributor

fourdim commented Jul 31, 2024

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
Copy link
Author

mirtaqi07 commented Jul 31, 2024

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
Copy link
Author

@fourdim Can you help me regarding this, kindly?

@fourdim
Copy link
Contributor

fourdim commented Aug 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants