🐛 Bug Fix
- Helpers: when the caret line can only be revealed by scrolling the page itself (e.g. the editor is half-visible in a small viewport),
scrollIntoViewIfNeededfell back toscrollIntoView()with the defaultblock: 'start'— the element was aligned to the viewport top and the page jumped as if PageDown was pressed on every Enter. The fallback now usesblock: 'nearest'and scrolls the minimal distance, one line at a time, like a native textarea. Reported by Ralf Pichler (Uniquare, Jodit OEM).