github ianstormtaylor/slate slate-react@0.133.5

latest releases: slate@0.133.7, slate-react@0.133.7, slate-react@0.133.6...
5 hours ago

Patch Changes

  • #6224 84f047c Thanks @dylans! - Replace an expanded selection correctly when an IME composition starts right after selecting it. The selection is now synced before the composition starts, and Firefox no longer crashes or leaves the replaced text in the document.

  • #6222 c333eed Thanks @dylans! - Render an empty block right-to-left when the nearest sibling block with text is right-to-left, so a new line after Hebrew or Arabic text starts on the right.

  • #6220 3eed905 Thanks @dylans! - Keep input, selection and history events from native contenteditable regions nested inside non-editable containers out of the surrounding Slate editor. Preserve Slate text and event hosts inside custom editable islands.

  • #6223 8c929a8 Thanks @dylans! - Keep the Firefox caret on the new line after a trailing soft break without adding zero-width characters to the document. Preserve selection offsets and copied text around the extra rendering newline.

    Requires slate-dom 0.133.5 or newer for the matching DOM selection mapping.

  • #6219 8e8cf36 Thanks @dylans! - Stop re-rendering every text node in a block when only one of them changes. Text and leaf components now compare what they use from the parent (its properties, whether the text is its last child, and whether the block is empty) instead of the parent object itself.

  • #6221 270a4a0 Thanks @dylans! - Call deletion overrides in WebKit when Backspace at the start or Delete at the end of a document does not emit beforeinput.

Don't miss a new slate release

NewReleases is sending notifications on new releases.