From c15dfc3c05531abe18d7ff8aecfdd048c28f63bc Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 4 Sep 2019 16:38:42 +0200 Subject: [PATCH] make Range start and end public --- src/editor/range.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/editor/range.js b/src/editor/range.js index d04bbbbfb1..2163076515 100644 --- a/src/editor/range.js +++ b/src/editor/range.js @@ -80,4 +80,12 @@ export default class Range { }); return len; } + + get start() { + return this._start; + } + + get end() { + return this._end; + } }