Hi Florian,

Thats cool 🙂 I never thought about doing it that way!

The way I always modify the default alignment of any block is by using this hook:

import { addFilter } from '@wordpress/hooks';
const modifyDefaultAlignment = (settings, name) => {
	if (name !== 'core/media-text') {
		return settings;
	}
	const newSettings = {
		...settings,
		attributes: {
			...settings.attributes,
			align: { type: 'string', default: 'full' },
		},
	};
	return newSettings;
};
addFilter(
	'blocks.registerBlockType',
	'textdomain/change-media-text-default-alignment',
	modifyDefaultAlignment,
);