Skip to content

Update naar WordPress 6.7

Wybe van den Bosch edited this page Jun 3, 2026 · 1 revision
  1. Update composer
composer require plugin/yard-gutenberg "^1.2" roots/wordpress:"6.7.*" --update-with-dependencies && composer update
  1. Update npm packages
ncu -u --packageFile package.json '@yardinternet/*' --target latest && npm install

command not found: ncu? Installeer via npm install -g npm-check-updates

  1. Verander in base-editor.cssde tag body naar .editor-styles-wrapper
  2. Voeg in /media-text/shared.css deze twee wijzigingen toe:
&.is-image-fill,
&.is-image-fill-element {

en

	/* Image adjustments on smaller screens */
	&.is-image-fill,
	&.is-image-fill-element {
		.wp-block-media-text__media {
			@apply aspect-video min-h-0 max-w-full;

			img {
				@apply aspect-[inherit] object-cover;
			}
		}
	}

	&:not( .is-image-fill-element ):not( .is-image-fill ) {
		.wp-block-media-text__media {
			@apply max-h-[250px];

			img {
				@apply max-h-[250px] object-contain object-left;
			}
		}
	}

Clone this wiki locally