This repository was archived by the owner on Apr 15, 2026. It is now read-only.
6.39.0
### Bug fixes Properly handle bidirectional text in `posAtCoords`. Avoid computing a zero character width (leading to divisions by zero) when the editor is hidden and the browser doesn't have a layout for it. ### New features The `posAndSideAtCoords` method is an extended version of `posAtCoords` that also tells you which side of the position the coordinates are associated with. Add support for block wrappers, decoration-like things that allow extension code to create DOM nodes around groups of lines.