mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
Update isHistory
to match new interface. (#5197)
* Update `isHistory` to match new interface. This change merely preserves the original functionality and does not add verification of Batch's new `selectionBefore` property. * Add changeset.
This commit is contained in:
14
packages/slate-history/test/isHistory/before-edit.js
Normal file
14
packages/slate-history/test/isHistory/before-edit.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** @jsx jsx */
|
||||
import { jsx } from '..'
|
||||
|
||||
export const input = (
|
||||
<editor>
|
||||
<block>
|
||||
Initial text <cursor />
|
||||
</block>
|
||||
</editor>
|
||||
)
|
||||
|
||||
export const run = () => {}
|
||||
|
||||
export const output = true
|
Reference in New Issue
Block a user