mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 10:51:44 +02:00
fix/unit-test in slate-history(https://github.com/ianstormtaylor/slate/issues/5825) (#5841)
This commit is contained in:
@@ -4,7 +4,7 @@ import { jsx } from '../..'
|
||||
import { cloneDeep } from 'lodash'
|
||||
|
||||
export const run = editor => {
|
||||
Transforms.delete(editor)
|
||||
Transforms.delete(editor, { reverse: true })
|
||||
}
|
||||
export const input = (
|
||||
<editor>
|
||||
@@ -15,5 +15,4 @@ export const input = (
|
||||
</block>
|
||||
</editor>
|
||||
)
|
||||
export const skip = true // TODO: see https://github.com/ianstormtaylor/slate/pull/4188
|
||||
export const output = cloneDeep(input)
|
||||
|
Reference in New Issue
Block a user