1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-06 14:32:48 +02:00

Remove comment

This commit is contained in:
Samy Pessé 2016-12-02 18:50:50 +01:00 committed by GitHub
parent 90000675e1
commit db6dfa04ac

View File

@ -2,7 +2,6 @@
export default function (state) {
const { document, selection } = state
const texts = document.getTexts()
// The first text is the one arround the inline void
const second = texts.get(1)
const range = selection.merge({
anchorKey: second.key,