mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 14:41:23 +02:00
committed by
Ian Storm Taylor
parent
d4b003862d
commit
5c4e4f9548
@@ -319,6 +319,9 @@ function transform(path, operation) {
|
|||||||
type === 'set_node' ||
|
type === 'set_node' ||
|
||||||
type === 'set_selection' ||
|
type === 'set_selection' ||
|
||||||
type === 'set_value' ||
|
type === 'set_value' ||
|
||||||
|
type === 'add_annotation' ||
|
||||||
|
type === 'remove_annotation' ||
|
||||||
|
type === 'set_annotation' ||
|
||||||
path.size === 0
|
path.size === 0
|
||||||
) {
|
) {
|
||||||
return List([path])
|
return List([path])
|
||||||
|
Reference in New Issue
Block a user