1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 05:31:56 +02:00

Remove comment

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

View File

@@ -4,7 +4,6 @@ import assert from 'assert'
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,