1
0
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:
Ian Storm Taylor
2017-07-12 12:58:00 -07:00

View File

@@ -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
}, [])
},