mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-12 02:03:59 +02:00
Fix - delete selected inline void in chrome (#4526)
* Fix - delete selected inline void in chrome * Add changeset * Fix prettier on changeset Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
This commit is contained in:
@@ -1215,7 +1215,7 @@ export const Editable = (props: EditableProps) => {
|
||||
Editor.isInline(editor, currentNode)
|
||||
) {
|
||||
event.preventDefault()
|
||||
Transforms.delete(editor, { unit: 'block' })
|
||||
Editor.deleteBackward(editor, { unit: 'block' })
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user