Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

TT1 Blocks: add styles for the post title #141

Description

@jffng

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

Activity

  1. kjellr commented on Dec 16, 2020

    @kjellr
    Collaborator

    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?

  2. jameskoster commented on Dec 16, 2020

    @jameskoster

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions