v8.2.6

d2lang/d2v8.2.6May 13, 2026by willmcgugan

AI Summary

Improved text selection logic to allow selecting text without clicking and fixed Markdown code fence rendering issues.

Key Highlights

  • Users can now select text without clicking on a content area
  • Fixed Markdown code fences losing content when switching themes

New Features

  • Ability to select text outside of content areas

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