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

View File

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