shitate pro blocks 1.7.0 has been released.

雪谷匡良 Avatar

·

·

1–2 minutes
no image

When updating

  • pro blocks 1.7.0 may change the appearance of sites with custom CSS using old class names. We recommend checking it out in staging mode.
  • The theme is available in the WordPress.org theme directory; you can update the pro blocks from your account.

1.7.0

Additional

  • The CSS/JS section of the scope block has been converted into a code editor. You can perform VS Code-style operations such as syntax highlighting, Tab indentation, bracket auto-closing, search, and switching between comments. This does not affect the front end.
  • Add "blurb text color" to the blurb block
  • Add "Post date and update date" display to the variable post query wrapper date

Changes

  • We have completely reorganized the class names in CSS. The block body is sb- + The block name, the inner parts are -title such as - The beginning, the state is / has- Unified. Saved blocks are automatically converted to new markup.With custom CSS, the old class name (sb-card__title If you are referring to such things), a rewrite is required.
  • Change the initial value of the variable post query wrapper (the title tag is divThe date is "update date")
  • Supported browsers are Safari 17.4 or higher, Chrome/Edge 118 or higher, Firefox 128 or higher
  • Added the 100% GPL reference and a list of licensed libraries included with the package. The icon has been replaced with a Tabler for the MIT license.

Fixes

  • In the editor preview for the table of contents block, the nested number was shown as a continuous number
  • After the block was updated, the CSS was still being read from the cache in its old form.
  • The JS for the scope block was gone in userless storage like WP-CLI and cron

1.7.1

  • Custom JS for the scope blockunfiltered_html Only when a signature is attached that was created by a user with permission to do so has the update been applied. JS stored before 1.7.0 will be automatically signed once after the update, so they will still work as before.
  • In the custom CSS for the scope block, the corresponding { Without } This eliminates the need to truncate the following and prevents CSS injection into the entire page.
  • Make SVG upload sanitization based on the extension,.svgz I refuse to do so.
  • To prevent blog cards and field blocks from displaying the password-protected article body, and to prevent variable posts from being eligible for the unpublished type, the if block has been made inaccessible to protected meta keys.
  • dialog accepts only color formats as its background color. We have improved the JSON-LD encoding for FAQ.

1.7.2

  • We have divided the CSS tabs for the scope block into three categories: "Front Editor," "Front-Only," and "Editor-Only."
  • In the editor's conversion menu, you can interconvert the core "groups" and "scopes," the "columns" and layout, and the "details" and "details."
  • Hooks for the Acceleration Plugin sb_style_tag_attributes と sb_inline_block_styles I added the "add to cart" button.

Operating requirements

Both the theme and the plugin are based on WordPress 7.0 or higher, and PHP 7.4 or higher.

Typography Scale

Changes apply to this page instantly and are remembered in your browser only. Nothing is saved on the site.

Bigger ratio = more contrast between headings (like typescale.com).

The ratio used at 375px wide. The scale eases from this to the main ratio by 1260px, so type and spacing tighten on phones without media queries.

Body text size. The whole scale is built from this.

Snaps every text step to even pixels (2px).

Sets Small / X-Small / XX-Small to 0.95rem / 0.8rem / 0.75rem instead of dividing by the ratio, which can make them too small to read.

Resulting sizes at this viewport
Display / H1 –
Huge / H2 –
Extra Large / H3 –
Large / H4 –
Medium / Body –
Small / H6 –
X-Small –
XX-Small –