1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 10:51:44 +02:00
This commit is contained in:
Guan-Erjia
2025-04-16 02:27:49 +08:00
committed by GitHub
parent 463ef3a650
commit 4aa16bb8b7

View File

@@ -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)