Molkit 0.7.0
Released May 7, 2026
New Features
- Shrink-to-text icon on selected sized textboxes: a small clickable circle outside the top-right corner collapses the box to fit its text content with one click
- "Shrink to Text" entry added to the right-click context menu for textboxes
- Right-click inside the text editor now opens a custom menu with Cut, Copy, Paste, Paste as plain text, Select All, Insert symbol, and Clear formatting (replaces the browser default)
- Clear formatting button in the popup formatting toolbar: strips bold, italic, underline, strikethrough, color, background color, and font size/family from the selection or whole editor while preserving sub, sup, and lists
- Ctrl+= toggles subscript and Ctrl+Shift+= toggles superscript inside the textbox editor, atom-label editor, and arrow-text-zone editor
- Clicking an existing text annotation with the text tool selected now opens its editor instead of creating a new annotation on top of it
Improvements
- Shrink-to-text now anchors to the top edge instead of collapsing toward the box center, so text no longer drops downward on shrink
- Shrink-to-text horizontal anchor follows text alignment (left, center, or right) so the visible content stays put
- Bulleted and numbered lists shrink-wrap with extra right padding so the marker indent area on the left is visually balanced against the right side
- Popup formatting toolbar stays within the viewport when a textbox is near the canvas edge (flips above/below or shifts horizontally instead of clipping)
- Color picker stays within the viewport in the same way, including flipping above its trigger button at the bottom edge; applies wherever the color picker is opened, including all property panels and dialogs
- A color picker taller than the available viewport space scrolls internally instead of being clipped
- Both popups reposition automatically on window resize, page scroll, and pinch zoom
- Eyedropper error message clarified to point at the picker's input fields and swatches as alternatives
Bug Fixes
- Shrink-to-text on bulleted or numbered lists no longer leaves wrapped text wrapped (measurer was missing the CSS rule that gives lists their padding-left, so the resulting box was sized for the wrong width)