mirror of
https://github.com/outline/outline.git
synced 2026-11-27 16:08:58 +03:00
- Embed nodes now render the same side and corner resize handles as images; corner drags maintain the embed's existing aspect ratio while side drags adjust the width only. - useDragResize falls back to the size at drag start for the corner aspect ratio when an element has no natural dimensions, and no longer allows resizing such elements to zero width. - Selecting an embed now shows the selection toolbar menu with the media dimensions inputs, allowing a custom size (and aspect ratio) to be set; the URL editor remains available via the Edit link item. - Adds resizeEmbed and deleteEmbed commands, and persists embed width/height through toDOM/parseDOM. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JjhkgiTMm3CqCtoufjEjXX