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

TT1 Blocks: add styles for the post title #141

Open
jffng opened this issue Dec 15, 2020 · 2 comments
Open

TT1 Blocks: add styles for the post title #141

jffng opened this issue Dec 15, 2020 · 2 comments

Comments

@jffng
Copy link
Collaborator

jffng commented Dec 15, 2020

The post title needs styling to match the default theme. It should look like this in the post editor and view:

Screen Shot 2020-12-15 at 11 32 57 AM

@kjellr
Copy link
Collaborator

kjellr commented Dec 16, 2020

Yeah, I'm not sure what to do about this one. WordPress/gutenberg#26355 makes it possible to switch to the full template here and show the post title as it would appear on the front end:

template

(I borrowed this GIF from @jameskoster 🙌)

That being the case, I'm not totally sure what the plan is for the post title in the editor when you're not editing the full site. Should it borrow the normal core/post-title block settings as defined in Global Styles? Or is this meant to be a separate, simpler, "writing" view where the post title wouldn't exactly match the front end?

@jameskoster
Copy link

I'm not totally sure what the plan is for the post title in the editor when you're not editing the full site

Yeah this needs some design exploration I think. One idea I've seen floated around is to move the title input to the top bar, kind of like how macOS apps handle renaming:

Screenshot 2020-12-16 at 14 44 49

I like this option – at least as a fallback – because it ensures that editing the title is always possible, even if the Title block isn't actually rendered on the canvas.

It also eliminates any guesswork with regards to where the title will actually appear on the frontend. When the content and template views have different title displays (like the gif above) that can be confusing. The template should always be the source of truth there I think.

Certainly there are other options, but I haven't seen any other explorations.

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

No branches or pull requests

3 participants