• Resolved almcr

    (@almcr)


    gutenberg generates HTML code which becomes part of any block.

    Is there a resource available which describes what each of the gutenberg blocks do and how to use them in your work?? to figure out what happens when you use gutenberg to display your content and then looking at the code it generates, is this the only way to do this??

    this is being generated by me after watching a video which describes how to insert an image into a text block, or as we all assume happens. I did find out that an image block floated left followed by a paragraph shows the paragraph surrounding the image automatically. this is just the way HTML code works. normally the code to show the image is embedded in a paragraph but it does not need to be.

    in gutenberg, how can I set up a floated content module with more than 1 block in it?

    I want to create a module (block?) with a heading, image and multiple paragraphs in it. This module is then all enclosed in a box and floated either left or right on the page. Is it possible to do this in gutenberg or must one use customized HTML code?

    Al

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,
    What Al wants is also something I would like to use as a block to save and reuse over and over again.
    with a heading, image and at least one paragraph in it.
    Lesley

    Thread Starter almcr

    (@almcr)

    Here’s a link to some info on how to use gutenberg:

    gutenberg review

    Al

    • This reply was modified 6 years, 6 months ago by almcr. Reason: added info about post

    I just wanted to clarify on this: do you want to do the Gutenberg float in order to mimic a sidebar? What is the use case you are trying to satisfy with this question?

    Thread Starter almcr

    (@almcr)

    yes, this is what I want to be able to do.

    currently, I see only one option in which to do this, custom HTML, I believe. Not sure what the parent block is or how to use one, perhaps that is what will be available at some time. I assume that I could use that, depending on its usage.

    gutenberg seems to be a mystery box of tools which we will be required to use, whether we get any training on them or not, whether or not there is a users manual for it, although the option of using the Classic Editor is going to be available at initial release of 5.0. I have never used page builder software so this is a new ballgame for me. I learned HTML and CSS just after the table era so grew up with using raw HTML and CSS to do things. This was before I was introduced to wordpress, so no such thing as a page builder in use at that time either.

    Al

    I get what you mean! Hopefully you don’t mind if I go into this a bit deeply, and I apologise if these are things you already know. I’d like to try and explain the reasoning behind sidebars, and where Gutenberg is probably headed, for anybody else who happens to search this topic. ??

    Gutenberg, as it stands now, is a post/page-level editor. Typically a sidebar is a global SITEWIDE element, and Gutenberg development hasn’t gotten that far yet. But it does have blocks that you can SHARE between pages/posts. To directly and vaguely answer your question: It seems like the eventual goal is for some sort of global Sidebar solution with Gutenberg.

    Gutenberg WILL support columns and grids, as part of the Layouts block, so this is something you definitely be able to do. If you update to the newest release of Gutenberg, you can test drive the Layouts beta block. Keep in mind this is still VERY beta, and when I tried it out found the process to be incredibly clunky. But that will all be worked out before official core release.

    Having said that – the display of your Gutenberg content will still be VERY controlled by your theme. Some themes have built-in sidebar areas, that are meant to be used for widget-based sidebar content. Themes are going to have to undergo a big restructuring to convert that to Gutenberg.

    Going back to the (traditional) sitewide global implementation of sidebars — it isn’t something you’d WANT to manage at the page level except in cases of overrides or custom elements. For efficiency sake, a central location to manage this sidebar is ideal (currently the Widgets section of the admin). Some themes allow you to do custom overrides on the page level to the global sidebar.

    I imagine that is what’s going to eventually happen with Gutenberg, but the concentration right now is getting a basic working editor at the page level so it probably won’t be a feature in the first release in 5.0.

    Here’s some developer discussion on the topic:
    Sidebar in Gutenberg from March 2018

    Discussion around columns in Gutenberg

    Using Widgets in blocks

    I hope this has helped answer your question and given you a little insight into what is coming ?? It won’t ALWAYS be this confusing, but there is still a lot of work yet to be done on the UX side of things before that happens.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wondering how to? in gutenberg’ is closed to new replies.