به ویرایشگر گوتنبرگ خوش آمدید

وضعیت رشد:
نگارش اولیه

ℹ️


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.

آنچه که در حال خواندن هستید text block است که پایه اصلی همه است. بلوک متن دارای کنترل های خاصی است که به طور آزادانه در اطراف پست منتقل می شود …

… مانند این یکی، که راست چین شده است.

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

تیتر عنوان

تست

تست سه

عنوان اصلی دو

یک تصویر ارزش هزار کلمه دارد

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.

منظره زیبا
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.

ابزار درج کننده

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:

  • متن و عنوان
  • فیلم و تصاویر
  • گالریها
  • قراردادن، مانند یوتیوب، تویت‌ها، و یا سایر پست‌های وردپرس.
  • چیدمان بلوک‌ها، مانند دکمه‌ها، تصاویر اصلی، جداکننده‌ها و غیره.
  • و لیست‌ها البته مانند این یکی 🙂

ویرایش دیداری

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.

شما می‌توانید با کشیدن یک اسلایدر در نوار کناری مقدار ستون‌ها را در گالری‌های خود تغییر دهید.

رسانه غنی

اگر شما ترکیب جدید گسترده و تمام عیار با گالری‌ها را ترکیب کنید، می‌توانید طرح بسیار غنی از رسانه‌ها را بسیار سریع ایجاد کنید:

قابلیت دسترسی مهم است & mdash؛ ویژگی alt تصویر را فراموش نکن

مطمئنا، تصویر تمام عیار می تواند بسیار بزرگ باشد. اما گاهی اوقات تصویر ارزشش را دارد.

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.

هر بلوک می‌تواند به این ترازوها برسد. بلوک جاسازی نیز آنها را دارد و از جعبه پاسخگو است:

https://vimeo.com/22439234

شما می‌توانید هر بلوکی که دوست دارید ایجاد کنید، استاتیک یا پویا، تزئینی یا ساده. در اینجا یک بلوک بالایی است:

کد شعر است

جامعه وردپرس

اگر می‌خواهید درباره نحوه ساخت بلوک‌های اضافی بیشتر بدانید، یا اگر به کمک به پروژه علاقه‌مند هستید به مخزن GitHub سر بزنید.


سپاسگزاریم از اینکه گوتنبرگ را آزمایش می‌کنید!

👋


دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

فهرست