github ianstormtaylor/slate slate-react@0.138.0

5 hours ago

Patch Changes

  • #6280 b397417 Thanks @dylans! - Call scrollSelectionIntoView when keyboard navigation moves a selection already synchronized with the DOM, including native movement between text lines. Custom callbacks can keep the caret clear of sticky headers. Renders and edits without user input remain excluded from this additional scrolling path.

  • #6282 f64a47f Thanks @dylans! - Keep the browser's native triple-click selection outside editor.isIsolated elements, so Backspace and cut after a triple-click in Chrome and Safari remove the whole block as in a plain contenteditable. Inside isolated elements, triple-click still selects only the current block's contents. Firefox keeps its native non-hanging selection.

  • #6279 dabbab7 Thanks @dylans! - Use native selection word boundaries for word-navigation shortcuts so Option/Ctrl+Arrow respects native punctuation and language boundaries while synchronizing Slate's selection in the same key event. Fall back to Slate's word transform when native selection movement is unavailable.

Don't miss a new slate release

NewReleases is sending notifications on new releases.