github ianstormtaylor/slate slate-react@0.128.0

latest release: slate@0.128.0
5 hours ago

Minor Changes

  • #6117 4e8cf0aa Thanks @juliankrispel! - Ignore input, paste and drop events dispatched by script rather than by the user, so a script running on the page can no longer insert content without the user acting.

    This breaks tests that simulate a paste by dispatching an event, such as fireEvent.paste or Cypress's trigger('paste'). Drive a real paste instead, with Playwright's keyboard or cypress-real-events, or call editor.insertData directly.

Patch Changes

  • #6115 52f05bf8 Thanks @giaBaoJS! - - When deleting a void element backward from a cursor inside it, place the cursor before the removed void instead of moving it into the following node
    • In Chrome and Safari, pressing Delete on a selected void now deletes forward instead of backward

Don't miss a new slate release

NewReleases is sending notifications on new releases.