Skip to content

0.7.1 — fit-to-content height & blockquote spacing

Choose a tag to compare

@luca-chen198 luca-chen198 released this 20 Jun 15:17

Added

  • heightBehavior / .fitsContent — the editor can grow to its content height and report it to SwiftUI, so an enclosing ScrollView scrolls the page instead of a nested internal scroller. Opt-in, off by default — no change for existing embedders. (#75)
  • BlockquoteStyle.extraLineHeight — line spacing inside blockquotes, matching the ListStyle.extraLineHeight / ParagraphStyle.lineHeightExtraSpacing pattern. Defaults to 0. (#76)

Fixed

  • Mouse-wheel / trackball scrolling no longer clamps back at the bottom past a stale content-height measurement. (#71)
  • Inspector clip mask and caret reveal at the document end. (#73)
  • Scroll position is remembered per document across switches; Writing Tools results stay styled and visible after accept. (#70)
  • Empty-file placeholder no longer clips to one line after a view rebuild. (#69)

New Contributors

Full Changelog: 0.7.0...0.7.1