Gutenberg 0.5.0 all blocks

Text block. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Einstein

Einstein
Einstein with caption

Hi, I'm a heading

The power of the Web is in its universality.

Tim Berners-Lee
  1. first list item
  2. second list item
  3. third list item

I'm a cover image text

Pullquote with multiple paragraphs.

The quick, brown fox jumps over a lazy dog.

Pullquote caption?
first table cell second table cell
third table cell fourth table cell
Preformatted text. One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin.
Code block.
function IconButton( { icon, children, label, className, focus, ...additionalProps } ) {
	const classes = classnames( 'components-icon-button', className );

	return (
		<Button { ...additionalProps } aria-label={ label } className={ classes } focus={ focus }>
			<Dashicon icon={ icon } />
			{ children }
		</Button>
	);
}

Custom HTML.



“Classic text” block.

One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.

La la la. (quote)

The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked.
Continue reading “Gutenberg 0.5.0 all blocks”

Gutenberg

Gutenberg is the revolutionary editor for the WordPress.  As WordPress covers 26% of the Web and content is the very important part for WordPress. Gutenberg is the future of content in WordPress with far more power and flexibility of layouts and content types. WordPress already supports a huge amount of “blocks”,  but doesn’t manage them all in one or arrange as one proper unit.

Welcome to the Gutenberg Editor

Gutenberg Editor

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, or so the saying goes

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

Beautiful landscape
Give it a try. Press the "really wide" button on the image toolbar.

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 insert 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 insert 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 🙂

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.


Visual Editing

A huge benefit of blocks is that you can edit them in place and manipulate you 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:

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.

Blocks can be anything you need. For instance, you may want to insert 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.

There is no greater agony than bearing an untold story inside you.

Maya Angelou


Sea id autem nominavi deseruisse

Ea veniam homero eam. Ex inimicus molestiae cum, debet scaevola at eos. Vis assum veritus ut, has ea nostrud accusata, offendit appareat comprehensam ea pro. Ad quo quem veritus appellantur, te est quas phaedrum, eum alia habeo ad. Ei est erroribus imperdiet, omnis dicam propriae sed no. His vitae oratio fierent ne, cu duo tota eligendi, electram rationibus in qui.

Accessibility is important don't forget image alt attribute

Est quis reque cetero ad. Sea id autem nominavi deseruisse. Veniam qualisque definitionem pri id, ea autem feugiat delenit ius, mei at loem affert accumsan. Dicat eruditi cu est, te pro dicant pericula conclusionemque, ei vim detracto euripidis intellegam. Eius postea volumus mei ad.

Prima ridens denique his te, ferri illum volumus an his. Eu vel dicat homero qualisqu, vitae regione deserunt vis ei. Graeci incorrupte liberavisse no mea, saepe voluptaria usu ex, vis dicant euismod id. At dolor reprimique eos, quo altera detraxit moderatius id. Quo iudico utinam eu, ad alia munere mel.

export default function MyButton() {
	return <Button>Click Me!</Button>;
}

Yet another image block

Yet another image block

An old silent pond...
A frog jumps into the pond,
splash! Silence again.

Eu integre accusata prodesset est, sed te impetus gubergren conceptam, ex sed wisi nostrum ocurreret. Esse velit omittantur ius te, alii dissentias ei vis. At sed unum veritus fabellas. Te volutpat appellantur duo. Ad natum fuisset intellegebat eam, causae invidunt usu id, et vis impetus appetere.

Nominavi deseruisse
  • Est quis reque cetero ad
  • Sea id autem nominavi deseruisse
  • Veniam qualisque definitionem pri id, ea autem feugiat delenit ius, mei at loem affert accumsan
  • Dicat eruditi cu est, te pro dicant pericula conclusionemque
  • Eius postea volumus mei ad

Code is Poetry

The WordPress community

Version Musician Date
4.4 Clifford Brown December 8, 2015
4.5 Coleman Hawkins April 12, 2016
4.6 Pepper Adams August 16, 2016
4.7 Sarah Vaughan December 6, 2016

All that you can embed!

State of the Word 2016


Editor Technical Overview


GutenBerg Test

This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.This is sample text to check the text block.

This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.This is for formatted output.

TestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestT



First name:
Last name:

Personalia:

Name:
Email:
Date of birth:


Emphasized text
Strong text
A piece of computer code
Sample output from a computer program
Keyboard input
Variable


My mother has blue eyes and my father has dark green eyes.

What is the different between all text adding block ? 

There are three text related blocks

  1. text

  2. preformed

  3. classic text


Resent post