mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-01 19:22:35 +02:00
Merge branch 'master' of github.com:ianstormtaylor/slate
This commit is contained in:
@@ -904,7 +904,8 @@ const Node = {
|
|||||||
return this
|
return this
|
||||||
.getCharactersAtRange(range)
|
.getCharactersAtRange(range)
|
||||||
.reduce((memo, char) => {
|
.reduce((memo, char) => {
|
||||||
return memo.concat(char.marks.toArray())
|
char.marks.toArray().forEach(c => memo.push(c))
|
||||||
|
return memo
|
||||||
}, [])
|
}, [])
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user