mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-26 11:27:10 -06:00
Right-clicking a picture, shape, text box or chart selects it (as a click would) and its context menu offers Wrap Text: In Line with Text, Square, Tight, Through, Top and Bottom, Behind Text, In Front of Text (current one checked), then Move with Text / Fix Position on Page. The latter two are a new engine command, arrange.moveWithText, which re-anchors a floating object's vertical position to its paragraph or the page without moving it. The menu items live in one shared function (ribbon::wrap_text_items, WRAP_STYLES) for the ribbon to reuse. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>