About this site – December 2019 onwards

This site was set up as a web design sandbox, then for a while it functioned as a web design showcase under the heading ManTisDesign.

Most of the material on the blog (on which this post appears) is about web design and layout in WordPress – notes, tricks and daydreams – primarily for my own refernence. Some extra posts were transferred to it in October 2020 but nothing else has changed.

The rest of the site? One “About” page, and that’s all.

Gutenberg and Green Path theme

Sandbox has been keeping itself up to date with WP versions for months now.

I have just uploaded the Green Path theme to see how it goes with the new system, and to get used to Gutenberg. Colors and header pic are deliberately wrong to keep me alert to the fact that this is the Sandbox, not the real site.

Featured image (wtf?) is an ant ~ 960px wide.

Okay … “Featured image” is a full-width pic *above* the post text and basic post info. I like it.
The Excerpt? Not so useful. Looks funny in Georgia, btw; better in italic?
The Logo appears above everything else and is quite big – 160 x 160 px. It pushes everything else downwards. It could perhaps replace the site title, but doesn’t look good as an addition to it.

The fonts which are showing up are Helvetica and Georgia, i.e., the same as in the real site, as they should be. They can’t be changed in the “Customise” menus.

Pasting rtf documents into Gutenberg

Pasting a whole complex rtf document straight into the editing pane produced all the text but none of the heading formatting or links.

Pasting a whole complex rtf document straight into the editing pane produced all the text but none of the heading formatting or links

In line with Drawdown – scrambled [H4]


https://cleantechnica.com/2018/03/06/researchers-unveil-several-ways-to-limit-global-warming-to-1-5c-by-2100/

about https://www.nature.com/articles/s41558-018-0091-3

Article
Scenarios towards limiting global mean temperature increase below 1.5 °C
Joeri Rogelj, Alexander Popp, Katherine V. Calvin, Gunnar Luderer, Johannes Emmerling, David Gernaat, Shinichiro Fujimori, Jessica Strefler, Tomoko Hasegawa, Giacomo Marangoni, Volker Krey, Elmar Kriegler, Keywan Riahi, Detlef P. van Vuuren, Jonathan Doelman, Laurent Drouet, Jae Edmonds, Oliver Fricko, Mathijs Harmsen, Petr Havlík, Florian Humpenöder, Elke Stehfest & Massimo Tavoni
Nature Climate Change (2018)
doi:10.1038/s41558-018-0091-3
Download Citation
◦ Climate-change mitigationEnergy and societyEnergy modellingSocioeconomic scenarios
Received:
03 April 2017
Accepted:
26 January 2018
Published online:
05 March 2018

Abstract

The 2015 Paris Agreement calls for countries to pursue efforts to limit global-mean temperature rise to 1.5 °C. The transition pathways that can meet such a target have not, however, been extensively explored.

Pasting text view into Gutenberg

Pasting the text view of a WP 4.x.x post into the editing pane carried over almost everything but not the blockquote.

cover of Fixing Climate

Fixing Climate
Robert Kunzig and Wallace Broecker
Profile, 2008

Fixing Climate is both interesting and useful but not in the ways that the authors intended. That’s not entirely their fault, since climate science and mitigation have changed enormously in the ten years since it was published.

The book tracks the life and work of Wallace Broecker, who was born in 1931 and was just the right age to become a pioneer and then a leader in the (then) very young field of climate history and (hence) climate change.

Continue reading “Pasting text view into Gutenberg”

Welcome to the Gutenberg Editor

[Excerpt] The goal of this new editor is to make adding rich content to WordPress simple and enjoyable.

Of Mountains & Printing Presses

The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of pieces of content—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you’ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.

What you are reading now is a text block, the most basic block of all. The text block has its own controls to be moved freely around the post…

… like this one, which is right aligned.

Headings are separate blocks as well, which helps with the outline and organization of your content.

A Picture is worth a Thousand Words

Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you’ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.

Beautiful landscape
If your theme supports it, you’ll see the “wide” button on the image toolbar. Give it a try.

Try selecting and removing or editing the caption, now you don’t have to be careful about selecting the image or other text by mistake and ruining the presentation.

The Inserter Tool

Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That’s the spirit behind the inserter—the (+) button you’ll see around the editor—which allows you to browse all available content blocks and add them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.

Go give it a try, you may discover things WordPress can already add into your posts that you didn’t know about. Here’s a short list of what you can currently find there:

  • Text & Headings
  • Images & Videos
  • Galleries
  • Embeds, like YouTube, Tweets, or other WordPress posts.
  • Layout blocks, like Buttons, Hero Images, Separators, etc.
  • And Lists like this one of course 🙂

Visual Editing

A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:

Blocks can be anything you need. For instance, you may want to add a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.

The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

Matt Mullenweg, 2017

The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It’s always easy to add it back.

You can change the amount of columns in your galleries by dragging a slider in the block inspector in the sidebar.

Media Rich

If you combine the new wide and full-wide alignments with galleries, you can create a very media rich layout, very quickly:

Accessibility is important don't forget image alt attribute

Sure, the full-wide image can be pretty big. But sometimes the image is worth it.

The above is a gallery with just two images. It’s an easier way to create visually appealing layouts, without having to deal with floats. You can also easily convert the gallery back to individual images again, by using the block switcher.

Any block can opt into these alignments. The embed block has them also, and is responsive out of the box:

You can build any block you like, static or dynamic, decorative or plain. Here’s a pullquote block:

Code is Poetry

The WordPress community

If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the GitHub repository.


Thanks for testing Gutenberg!

👋