Support » Plugin: Gutenberg » The Title as Block

  • Resolved ironfish2

    (@ironfish2)


    The paradigm of the old editor is something like this:

    Title field
    Content

    The paradigm of the current Gutenberg version is this:

    Title field
    Blocks

    Ie Content has been replaced by blocks.

    Eg:

    Title field
    Paragraph block
    Image block
    Etc

    From a pure UI point of view, the Title field/area behaves the same as any block – you select it, and a blue border is placed around it.

    In making the Title be a field and not a block, this introduces the following inconsistencies in the user experience:

    A user selects a Block and see the properties of the block in the right Block properties/settings window.
    A user selects the Title and does NOT see any info about the block – instead sees “No block selected”.
    This will cause users to wonder why this is and may cause some confusion.

    So the UI is inconsistent.

    Also a new user has to figure out why there is a difference in behaviour. That means a new user has to figure out the WP decided to label the Title area as a field, not a block. And then learn why the Title field is not described in the Block properties window. And then wonder like I do, why the Title was labeled as not-a-block.

    So the paradigm of:

    Title field
    Paragraph block
    Image block
    Etc

    This introduces user having to experience inconsistencies, possible confusion, having to learn the differences between the Title and blocks, etc.

    Moreover, the UI is inconsistent in how it treats one data entry area from the others, even though the data entry areas basically look and behave the same (ie most blocks and the Title field, you select it, it gets bordered by a blue border, and you type text into it).

    These issues would be solved by the following paradigm:

    Title block
    Paragraph block
    Image block
    Etc

    Ie Title and Content from the old editor have both been replaced by blocks.

    And where the Title block would then be shown in the Block properties. It may not have any properties, but one could say “This Title block will be displayed in the theme here….” etc or whatever. Or there is then an opportunity to provide number of characters in the Title for eg SEO purposes, set a limit for number of charcters, etc.

    I have read so much that G is about blocks everywhere, including sidebars, wherever.

    So I was very surprised to see a Title field not block.

    I dont know of any reason to keep the Title text area as a field and treat it differently than blocks. Maybe there is a technical reason or something, I dont know.

    I have mentioned this issue in a previous issue but I also mentioned another issue and it became quite long so I want to repeat it here for discussion.

    Furthermore in the previous issue this was left off that it would be kept a Title field and maybe add a descriptor.

    I dont think this is the right way to go and so want to reiterate this issue here and suggest a solution: Title as block.

    • This topic was modified 1 year, 3 months ago by ironfish2.
    • This topic was modified 1 year, 3 months ago by ironfish2.
    • This topic was modified 1 year, 3 months ago by ironfish2.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Marius L. J.

    (@clorith)

    Hiya,

    That’s a fantastic breakdown of the progress there, I quite like it!

    The reason the title isn’t a block, but rather a “fixed area” is because it needs to be stored separately so that themes and plugins can grab it using the_title() functions in WordPress core, if it was just a title block this would break titles for a lot of users, which we do not want to do.

    We started a ticket for discussing how to make this less confusing to the users, you can follow along at https://github.com/WordPress/gutenberg/issues/8469 if you’d like.

    Thanks for explaining that there is a technical reason that the Title cannot be a block.
    That github issue reflects my thoughts well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The Title as Block’ is closed to new replies.