Hello, Gutenberg!

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:

The editor will endeavor 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 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.

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!


윈도우에서 리눅스 코딩하기

initial try:

한줄 쓰고 바꾼 내용 깃에 커밋후 푸시하고 ssh로 컴파일, 테스트. 깃로그 겁나 더러워짐 && 귀찮음 -> VIM으로 코딩

2nd try:

samba로 연결시도, 하지만 보안 문제가 있고, 결정적으로 ISP에서 삼바 포트 차단함. 그리고 윈도우는 삼바 포트 바꿀수 없음 ㅠ

3rd try:

vscode에서 sftp 플러그인으로 동기화 시도함. 잘됨! 그러나 eol 문제가 있음.


1. git config –global core.autocrlf false
글로벌 설정

-> 글로벌 옵션을 바꾸면 나중에 귀찮은 일이 생기지 않을까?

2. git config core.autocrlf false
리퍼지터리 별 설정

-> 리눅스 프로그래밍 할때 마다 리퍼지터리 마다 설정?

어려운 문제군.


성평등 예방교육 배너가 맨날 떠서 귀찮아서 만들어봤다

안타깝게도 배너를 치우는 애드온을 만들었어야했는데
반대로 성평등교육을 이수하는 플러그인을 만들어 버렸다.


다른데서 로그인해도 배너가 안뜬다.

이수하는게 귀찮다.

카레 우동

준비물: 버터 약간, 양파 반 개, 우동 생면, 카레 가루, 파슬리 혹은 파, 국간장

  1. 버터를 팬에 두르고 양파를 노릇해질때까지 볶는다.
  2. 면이 잠길 수 있을 정도로 물을 붓고 간장으로 간을 맞춘다.
  3. 물이 끓으면 카레가루를 넣고 잘 풀어 준 뒤, 면을 넣고 2분 더 끓인다.

부산 – 서울

1. 부산역 – 서울역- 집

부산 -> 서울 KTX 59,000원 2시간 40분
서울 -> 집 1,250원 32분

60,250원, 3시간 12분                 11,568,000

2. 부산역 – 대전역 – 영등포역 – 집

부산 -> 대전 KTX 36,200원 1시간 30분
대전 -> 영등포역 무궁화 10,200원 1시간 47분
부산 -> 영등포역 KTX 48,000원 3시간 (하루 2대)

영등포역 -> 집 1,250원 29분

47,650원, 3시간 47분               10,816,550

3. 부산역 – 수원역 – 집

부산 -> 수원 KTX 46,300원 2시간 40분 (하루 4대)
수원 -> 집 1,750원 58분

48,050원, 3시간 38분               10,474,900

4. 부산역 – 수서역 – 집

부산 -> 수서 SRT 52,900원 2시간 30분
수서 -> 집 1,550원 59분

54,450원, 3시간 29분               11,380,050

5. 부산역 – 광명역 – 집

부산 -> 광명 KTX 57,700원 2시간 20분
광명 -> 집 셔틀 1,350원 30분 (하루 10대)
광명 -> 집 버스, 지하철 1,350원 60분

59,050원, 2시간 50분 ~ 3시간 20분   10,038,500 ~ 11,810,000

6. 부산역 – 영등포역 – 집

부산 -> 영등포역 무궁화 28,000원 5시간 15분
영등포역 -> 집 1,250원 29분

29,250원, 5시간 44분              10,062,000