1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-06 15:26:34 +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) { export default function (state) {
const { document, selection } = state const { document, selection } = state
const texts = document.getTexts() const texts = document.getTexts()
// The first text is the one arround the inline void
const second = texts.get(1) const second = texts.get(1)
const range = selection.merge({ const range = selection.merge({
anchorKey: second.key, anchorKey: second.key,