mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-01 11:12:42 +02:00
Merge branch 'master' of github.com:ianstormtaylor/slate
This commit is contained in:
@@ -904,7 +904,8 @@ const Node = {
|
||||
return this
|
||||
.getCharactersAtRange(range)
|
||||
.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