v8.2.6

sxyazi/yaziv8.2.6May 13, 2026by willmcgugan

AI Summary

This release improves text selection logic to allow selecting text without clicking, alongside fixes for code fence selection and theme switching issues.

Key Highlights

  • Ability to select text without first clicking on a content area
  • Fix for selection to the right of code fence blocks
  • Fix for Markdown code fences losing content during theme changes
  • Improved text selection precision

New Features

  • Text selection outside of content areas
  • Fixed selection logic for code fences
  • Fixed Markdown theme switching content preservation

Full Release Notes

Improved text select logic. You can select text without first clicking on a content area.

May break snapshots without affecting appearance.

## [8.2.6] - 2026-04-13

### Fixed

- Fixed selection to the right of code fence blocks (may break some snapshots)
- Fixed Markdown code fences losing content when switching themes https://github.com/Textualize/textual/pull/6537

### Added

- Added ability to select outside of text, so the user doesn't need to be quite so precise https://github.com/Textualize/textual/pull/6523