Make media embed alignment options configurable
Summary
Make the media embed alignment options configurable by integrators, mirroring how config.image.styles exposes image styles today. The current implementation hardcodes all five alignments (alignLeft, alignBlockLeft, alignCenter, alignBlockRight, alignRight) into MediaEmbedStyleUI with no way to opt out or customise.
Motivation
As for today integrators have no public API to:
- Disable alignments their UX doesn't need (e.g. drop the wrap-text pair on layouts that can't reflow text around floats).
- Replace icons or labels for branding/i18n without forking the plugin.
The image feature already solves this with config.image.styles.options. Media embed should match it for consistency, since the two features sit side by side in most editor configurations.
Proposed solution
Expose a new configuration entry on MediaEmbedConfig that lets integrators pick a subset of built-in alignments, override individual built-ins, and add custom ones. The shape and semantics should follow config.image.styles.options so the two features feel familiar side by side. When the config is absent, today's behaviour is preserved (non-breaking).
Acceptance criteria
- Integrators can restrict the available alignments to a chosen subset.
- Integrators can override fields (e.g. icon, label) of a built-in alignment.
- Integrators can register a custom alignment alongside the built-ins.
- Alignments not present in the configured list are not exposed in the UI and are rejected by the command.
- Default behaviour with no config is unchanged.
- Public documentation covers the new configuration.