Skip to content

v1.2.3

Choose a tag to compare

@JackUait JackUait released this 18 Jul 16:27

Features

  • Theming — More host customization hooks: heading tokens (keyed off data-blok-heading-level) and embed tokens, a --blok-list-gap token for list spacing, and palette tokens declared at zero specificity via :where() so host overrides always win. --blok-content-max-width is now authoritative when the editor is in width: 'full' mode.
  • Read-only — The editor wrapper is stamped with data-blok-readonly as a public styling hook, and the block-controls gutter auto-collapses in read-only mode so content uses the full column.
  • Adapters — The three React-integration workarounds were removed by fixing their root causes in core.

Bug Fixes

  • i18n — Custom tool titles now localize via toolNames.<toolName> dictionary keys.
  • Image — GIF→video auto-conversion is skipped when no video tool is registered, instead of failing the upload.

Maintenance

  • Builddist/ output is now minified and JSON data is emitted as JSON.parse strings, cutting published bundle weight.
  • Docs — Documented the theming hooks, data-blok-readonly attribute, contentAlign, toolbox: false gating, the GIF guard, the readOnly object form, and toolNames keys.